|
-
Jan 12th, 2003, 03:42 PM
#1
Thread Starter
<?="Moderator"?>
move popup window
hey im trying to move a window with a popup style. can some one please tell me if the code im using is along the right lines.
[ccode]
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
case WM_MOUSEMOVE:
{
ReleaseCapture();
int y(GET_Y_LPARAM(lParam));
int x(GET_X_LPARAM(lParam));
SetWindowPos(hwnd,HWND_TOPMOST,x,y,NULL,NULL,SWP_NOSIZE);
break;
}
break;
}
[ccode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|