Initially visible dialog box
-
say detailedly . CDialog dlg; dlg.DoModal() ??
-
say detailedly . CDialog dlg; dlg.DoModal() ??
I had tried that. Actually I want to use the dialog box as a toolbar, that is why i want it visible. I have .cpp and .h files for the toolbar class derived from CDialog. I included the .h file in MainFrm.cpp. I also have CToolBarNew m_wndToolBarNew; in the protected section ofCMainFrame class. But it still gives compiler error: missing storage-class or type specifiers
-
I had tried that. Actually I want to use the dialog box as a toolbar, that is why i want it visible. I have .cpp and .h files for the toolbar class derived from CDialog. I included the .h file in MainFrm.cpp. I also have CToolBarNew m_wndToolBarNew; in the protected section ofCMainFrame class. But it still gives compiler error: missing storage-class or type specifiers
Kapgan wrote: I included the .h file in MainFrm.cpp. Put it in the MainFrm.h file. Why aren't you extending CToolBar? ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." - -Uknown.