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 / using a dll to check if a window is minimized

Author
Message
draknir_
18
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 30th Mar 2008 04:01
hey guys,
Since im still pretty new to C++, I need some help on how to import a dll like we do in DBPro. I want to use a win32 function to check whether my game window is minimized (as was illustrated in this thread: http://forum.thegamecreators.com/?m=forum_view&t=42766&b=1 ). How should i go about this in c++?
thanks & regards
draknir
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 30th Mar 2008 08:27 Edited at: 30th Mar 2008 08:28
You don't do that from this side of the fence. You are inside those dlls now, just make the calls you need. In this case, probably this one from user32:

BOOL IsIconic(hWnd)

if (IsIconic(hWnd)) ...
draknir_
18
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 30th Mar 2008 17:02


wow i never expected it would work XD thanks

Login to post a reply

Server time is: 2024-11-20 07:26:05
Your offset time is: 2024-11-20 07:26:05