-Karamja-
asked on
Move Left...
Hello, I have a HWND how can I set the left.
e.g
Form1.Left:= 100;
MyHWND.Left:= 100;
Thanks.
e.g
Form1.Left:= 100;
MyHWND.Left:= 100;
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the reply,
I dont want to beable to resize the window, Just move.
Would there be a way to get the current, Width & Height?
I dont want to beable to resize the window, Just move.
Would there be a way to get the current, Width & Height?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Call GetWindowPos to get all the position information for the window, then use SetWindowPos to move the window. Changing the left parameter to 100 of course ;-)