First off I am using VS .Net to make the dialog templete. This is not the first time i have done this and all the others in my program do not have this problem. The problem I am haveing is this, I have use the CreateDialog() function to make a dialog box. However, all that apears is the static text the dialog its self is never drawn. I set the flags using VS's gui interface to Visiable = true and Disabled = false. The style = Child.
First i will the CreateDialog function i use in my program
CreateProgressDialog = CreateDialog(hInst, (LPCTSTR)IDD_CREATE_MAP_PROGRESS,
hWnd, (DLGPROC)CreateMapProgress);
Next is the DLGPROC CreateMapProgress, nothing is there really
LRESULT CALLBACK CreateMapProgress(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
switch(message) {
case WM_INITDIALOG:
break;
case WM_DESTROY:
break;
}//end message switch
return TRUE;
}//end CreateMapProgress
I have no idea why the dialog itself is not showing and am completely stumped on this problem and welcome anyone who can give me something to go on to fix this.