Set the specified windows's show state. Syntax BOOL WINAPI ShowWindow( __in HWND hWnd, __in int nCmdShow ); Parameter hWin : A handle to the window. nCmdShow : Controls how the window is to be shown. This parameter can be use one of the following values. Value Meaning SW_FORCEMINIMIZE 11 Minimizes a window, even if the thread that owns the window is not responding. This flag should only be used when minimizing windows from a different thread. SW_HIDE 0 Hides the window and activates another window. SW_MAXIMIZE 3 Maximizes the specified window. SW_MINIMIZE 6 Minimizes the specified window and activates the next top-level window in the Z order. SW_RESTORE 9 Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window. SW_SHOW 5 Activates the window and displays it in its current siz...
Windows OS를 구성하는 기본적인 3개의 DLL(Dynamic Link Library) 커널 (KERNE32.DLL) : Windows OS의 핵심으로 메모리관리, 파일 입출력,프로그램의 로드와 실행 등 OS의 기본기능을 수행한다. GDI (GDI32.DLL) : 화면이나 프린터 같은 출력장치의 출력을 관리한다. 사용자 인터페이스 (USER32.DLL) : 윈도우, 다이얼로그, 메뉴, 커서, 아이콘 등과 같은 사용자 인터페이스 객체들을 관리한다.
Contain message information from a thread's message queue. Syntax typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG, *PMSG, *LPMSG; Members hwnd : A handle to the window whose window procedure receives the message. This member is NULL when the message is a thread message. message : The message identifier.Applications can only use the low word; the high word is reserved by system. wParam : additional information about the message.The exact meaning depends on the value of the message member. lParam : additional information about the message.The exact meaning depends on the value of the message member. time : The time at which the message was posted. pt : The cursur position,in screen coordinates, when the message was posted.
댓글
댓글 쓰기