Thursday, March 18, 2010

How To Make A Window An Active (focussed) - C And C++ | Dream.In.Code

How To Make A Window An Active (focussed) - C And C++ Dream.In.Code

SetWindowPos

SetWindowPos(hwndDlg,
HWND_TOP,
rcOwner.left + (rc.right / 2),
rcOwner.top + (rc.bottom / 2),
0, 0, // Ignores size arguments.
SWP_NOSIZE);

No comments: