bbman 12 Junior Poster

Hey,
I have an API that can move windows. If I put the x co-ordinate higher that the horizontal resolution of the screen, it will move to the next monitor.
I do not have multiple monitors, so I cannot test this myself. Would I use something like:

Screen[] screens = Screen.AllScreens;
//Get screen
screens[2].X;

to get the window into another screen?
Cheers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.