Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HWND hWnd = ::FindWindow( _T("Notepad"), NULL);
- ::ShowWindow(hWnd, SW_HIDE);
- SetWindowPos(windowToHide, 0, 0, 0, 0, 0, SWP_HIDEWINDOW);
- SetWindowPos(windowToShowInFullScreen, HWND_TOP, 0, 0, 240, 320, SWP_SHOWWINDOW);
- SetForegroundWindow(windowToShow);
Add Comment
Please, Sign In to add comment