Notice
Recent Posts
Recent Comments
목록작업영역 1
LuvSea
작업영역
#include #include #include ........ LRESULT CALLBACK WndProc(HWND hWnd,UINT iMessage,WPARAM WParam,LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; static RECT rt; switch(iMessage) { case WM_CREATE: GetClientRect(hWnd,&rt); return 0; case WM_PAINT: hdc = BeginPaint(hWnd,&ps); SetTextAlign(hdc,TA_CENTER); //텍스트를 윈도우 중앙에 위치 TextOut(hdc,rt.right/2,rt.bottom/2,TEXT("작업영역 표시"),18); EndPaint(hWnd,&ps); retur..
sTudy
2009. 7. 6. 12:27