Q : Alt Click À» ¾î¶»°Ô ó¸®Çϳª¿ä? A : case WM_LBUTTONDOWN: if( GetAsyncKeyState( VK_MENU ) ) // alt key°¡ ´·ÈÀ»¶§... { // Alt Key¸¦ ´·¶À»¶§ÀÇ Ã³¸®.... } Q : ÀÛ¾÷ Ç¥½ÃÁÙ¿¡ ¾ÆÀÌÄÜÀº ¾î¶»°Ô Ç¥½ÃÇϳª¿ä? A : case WM_CREATE: // Change program icon hIcon = (HICON) LoadImage( hInst, MAKEINTRESOURCE(IDI_APP_ICON), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR ) ; if ( hIcon ) { SendMessage( hWnd, WM_SETICON, FALSE, (LPARAM)hIcon ) ; } |