Restore window

BlitzPlus Forums/BlitzPlus Programming/Restore window

Can anybody help me with restoring minimized window. It should be possible with API call, but which one and what parameters to use?

MSDN is your friend! :)

SetWindowPlacement WinAPI function should do the trick!

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/setwindowplacement.asp

Dabz

P.S. check the WINDOWPLACEMENT structure

Found this:
api_ShowWindow(QueryObject(window%, 1), 9) ;9 = SW_RESTORE

Nice, never thought of ShowWindow! :) I'll remember that one!

Dabz