PDA

View Full Version : need help with positioning


mgokkaya
02-22-2007, 02:45 AM
i have 2 projects one of them is called "web" and the other is "driver"...
what i want to do is;

run the web project and with a button in the web project, i want to run the driver project but how can i set the position on the screen of the driver project from the button on the web project...
NOT FROM THE ONSHOW EVENT OF DRIVER PROJECT...

Buffman
02-22-2007, 12:53 PM
i have 2 projects one of them is called "web" and the other is "driver"...
what i want to do is;

run the web project and with a button in the web project, i want to run the driver project but how can i set the position on the screen of the driver project from the button on the web project...
NOT FROM THE ONSHOW EVENT OF DRIVER PROJECT...

Hi mgokkaya,

Try looking at the Window.SetPos() function. You can set the position (X,Y coords) of any window once you have the WndHandle. The help file (and forums) have a lot of good ways to get the WndHandle.

Hope this helps!