WNDCLASSEX
-
struct MSG, WNDCLASSEXPrograming/Ent.. 2008. 1. 30. 13:16
typedef struct tagMSG { // msg HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG; hwnd: 윈도우의 핸들이다 message: 발생한 메시지에 대한 고유 번호가 들어있다.(WM_CLOSE, WM_PAINT..등등) wParam, lParam: 발생된 메시지에 추가된 정보가 들어있다 pt: 메시지가 수신되었을때, 화면상의 좌표를 기준으로 마우스가 위치한 정보가 들어있다 struct WNDCLASSEX { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HIC..
-
WNDCLASSEX 구조체Programing/DirectX 2008. 1. 25. 00:52
typedef struct { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCTSTR lpszMenuName; LPCTSTR lpszClassName; HICON hIconSm; } WNDCLASSEX, *PWNDCLASSEX; WNDCLASSEX 구조체의 정의는 위와 같다. * cbSize 구조체의 크기를 지정한다. * style 윈도우 스타일을 지정한다. * lpfnWndProc 메세지를 처리할 콜백 함수를 지정한다. * cbClsExtra 추가 클래스를 지정한다 * cbWn..