Maximise Event

BlitzPlus Forums/BlitzPlus Programming/Maximise Event

Grey Alien(Posted 2005) [#1]
Anyone know how to read the current state of a window when passing in a handle? I checked User32.dll and can't see anything useful, but I could be wrong. SSwift, come up with anything yet?

Basically my game has a "boss" key and when pressed it minimises the app and pauses the music BUT it needs to unpause the music on maximise, hense I need to detect the event. I could try something lame like unpausing the channel every game loop (not tested yet) but does the game loop continue when the app is minimised?

Help...


Cold Harbour(Posted 2005) [#2]
Could you look for a $2002 event once your window has been minimized?


sswift(Posted 2005) [#3]
I haven't been looking for a way to find out if the window is minimized or maximized, because I don't have a need for it right now.


Blaine(Posted 2005) [#4]
Uhh... WindowMaximized() or WindowMinimized()?


sswift(Posted 2005) [#5]
That could work. :-)


Grey Alien(Posted 2005) [#6]
Thanks Blaine, rtfm hey! ;-)