Good morning every expert, I have a question. I used:
Code:
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd){
LoadIcon(hInstance,MAKEINTRESOURCE(ICON));
}
It only made my EXE's Icon changed. But I want it to show on the Title Bar too. How can I accomplish that? I try to change my window to OVERLAPPED, but doesn't seem to work.

Another thing is:
Code:
BOOL CALLBACK WndProc2(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam){
static HINSTANCE hInst;	
	switch(msg){
		case WM_INITDIALOG:
		LoadCursor(hInst,MAKEINTRESOURCE("CURSOR1"));
		break;
		case WM_CLOSE:
		DestroyWindow(hwnd);
		PostQuitMessage(0);
		break;
		default:
		break;
	}
	return 0;
}
///This function is only for my 2nd DIALOG(DIALOG2)
How can I solve this problem?(Display CURSOR1 as the Cursor of DIALOG2)