【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.25.73 ShowWindow
Contents
Description
This function sets the specified window's show state
Syntax
BOOL ShowWindow( HWND hWnd, int nCmdShow )
Parameters
- hWnd
- [input] Handle to the window to test.
- nCmdShow
- [input] SW_HIDE, SW_NORMAL, SW_MINIMIZE, SW_MAXIMIZE etc.
Return
If the window was previously visible, the return value is TRUE.
If the window was previously hidden, the return value is FALSE.
Examples
EX1
int ShowWindow_ex1() { // make the Origin main window minimized HWND hWnd = GetWindow(); if(hWnd) ShowWindow(hWnd, SW_MINIMIZE); return 1; }
Remark
See Also
Header to Include
origin.h