Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Keep Window on top

Author
Message
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 14th Jan 2011 23:33 Edited at: 15th Jan 2011 00:03
I'm working on a project that executes a separate application with different parameters in order to upload data to another server. The problem is, my App is full screen and when the other application starts, mine minimizes. Any idea on how I could keep my window on top, without having it to minimize?

I tried doing the following thing:

Still, the Window keeps minimizing when scoreboard.exe is executed!
mr_d
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Mar 2007
Location: Somewhere In Australia
Posted: 15th Jan 2011 02:32
hi zapakitul,
please see my reply in the other thread where you asked about this:
http://forum.thegamecreators.com/?m=forum_view&t=174719&b=5&msg=2147039#m2147039

(\___/)
(='.'=) Copy bunny into your signature to
("_(" help him gain world domination.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 15th Jan 2011 14:29 Edited at: 15th Jan 2011 14:30
try
, window handle could be g_pGlob->hWnd if you want the GDK window to be on top most

if that does not solve your problem, and you are using full-screen mode in your game, try making it non-full screen, but with same size as the desktop and at 0,0 position, then make it topmost (using the code above)

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 15th Jan 2011 23:19
@Hassan, that's what I did! Same thing used in my code example, first post.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 18th Jan 2011 14:44
hmm, try
ShowWindow(g_pGlob->hWnd,SW_SHOWMAXIMIZED);
instead of
ShowWindow(g_pGlob->hWnd,SW_MAXIMIZE);

also, if it still doesn't work, try not maximizing it at all

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size

Login to post a reply

Server time is: 2024-11-19 14:33:37
Your offset time is: 2024-11-19 14:33:37