win32 function to minimize a window ?

Started by
0 comments, last by microdot 18 years, 11 months ago
is there a win32 function to minimize a window ? I tried PostMessage((HWND)Render_hWnd,WM_SIZE,SIZE_MINIMIZED,0); but it does not minimize the window. thanks!
-goodbye-
Advertisement
Try this
ShowWindow ( windowHandle, SW_MINIMIZE ) ;

Documentation here.
<span class="smallfont">That is not dead which can eternal lieAnd with strange aeons even death may die.   -- "The Nameless City" - H. P. Lovecraft</span>

This topic is closed to new replies.

Advertisement