win32 function to minimize a window ?

This topic is 4748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

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!

Share on other sites
Try this
ShowWindow ( windowHandle, SW_MINIMIZE ) ;

Documentation here.

• 40
• 15
• 10
• 23
• 19