-
Question about automatically choosing current OpenGL window
Hello,
I have a question about automatically switching from command window to my current OpenGL window. I have a program which first asks the user to choose several parameters then entering to full screen mode image rendering. However, when I want to press a button, I always need to first click mouse to choose the current full screen window and then the button response will work. Do you know if there is some ways to directly choose the current window when entering the full screen mode without clicking mouse?
Thanks,
Jihang
-
Problem solved using the sentence below
HWND hWnd = GetActiveWindow();
howWindow(hWnd,SW_SHOW);
SetForegroundWindow(hWnd);
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