Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - shawrie777

Pages: [1]
1
Window / Re: Controlling focus with multiple windows
« on: May 02, 2020, 01:23:04 pm »
Thanks! I hadn't heard the term modal window before, so didn't know what to search for! You say to check it's taking focus from the other window: does that mean I still need to run its event loop to see if it gained focus?

2
Window / Controlling focus with multiple windows
« on: May 01, 2020, 11:20:33 am »
Hi

I've created a fairly simple program to play a game, and when the player clicks to start a new game a second window pops up to let them choose options. The problem is that they can still click on and switch focus to the first window. How can I force focus to the second window until they've chosen? Note I'm not intending them to be unable to switch program, just between the windows of the program.

Thanks

Pages: [1]