Messages to move a screen
Hi , I need to know what messages have to be posted to move the screen - drag operation , like i have the set of messages for Win 2000. PostMessage( hWnd, WM_KEYDOWN, VK_SHIFT, 1 ); PostMessage( hWnd, WM_KEYUP, VK_SHIFT, 1 ); These two messages will attach the screen to the tip of the current pointer location and t ...
Hi ,
I need to know what messages have to be posted to move the screen - drag operation , like i have the set of messages for Win 2000.
PostMessage( hWnd, WM_KEYDOWN, VK_SHIFT, 1 );
PostMessage( hWnd, WM_KEYUP, VK_SHIFT, 1 );
These two messages will "attach" the screen to the tip of the current pointer location and the screen can be placed after moving to a desired location and doing a left button click.
This code doesn't seem to be of any help in XP.
So , how do i do it ??
thanks,
shivsu.
I need to know what messages have to be posted to move the screen - drag operation , like i have the set of messages for Win 2000.
PostMessage( hWnd, WM_KEYDOWN, VK_SHIFT, 1 );
PostMessage( hWnd, WM_KEYUP, VK_SHIFT, 1 );
These two messages will "attach" the screen to the tip of the current pointer location and the screen can be placed after moving to a desired location and doing a left button click.
This code doesn't seem to be of any help in XP.
So , how do i do it ??
thanks,
shivsu.
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.