How can I create a standard MFC dialog that takes precedence over game running in fullscreen? (EX: CoD4, CSS, BF2). I tried settings: Topmost = true and SetForeground = true.
Is there another way of doing this?
Thanks in advance,
Guitarist809
Printable View
How can I create a standard MFC dialog that takes precedence over game running in fullscreen? (EX: CoD4, CSS, BF2). I tried settings: Topmost = true and SetForeground = true.
Is there another way of doing this?
Thanks in advance,
Guitarist809
Why do you want to do this? It doesn't sound good thus far.
Let's just say I like to know what time it is when I'm playing a game and it takes too long to minimize/maximize the game.
I was told to use SetWindowPos(), however, it didn't work.
I ran that code in a loop just to make sure it would constantly go on the top (I also used HWND_TOPMOST). It didn't work.Code:SetWindowPos ( thewnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE );