Subj : Re: Create main window from dialog resource by using CreateWndowEx() function To : borland.public.cpp.borlandcpp From : "Antonio" Date : Fri Oct 31 2003 09:19 am For dialog resource I use int DialogBox( HINSTANCE hInstance, // handle to application instance LPCTSTR lpTemplate, // identifies dialog box template HWND hWndParent, // handle to owner window DLGPROC lpDialogFunc // pointer to dialog box procedure ); .