|
-
July 12th, 2004, 03:17 AM
#1
Setting Variables, Dialog Name in CMainframe
Good day to all!
i created a CDialog class CReportUI which is dynamically setting up its variables and dialog title called by CMainFrame class... here is my code snipet:
void CMainFrame::OnReportsManagerialreportComparativeVariance()
{
CReportUI dlgRepUI;
dlgRepUI.mc_ccType.AddString("BARANGAY");
dlgRepUI.mc_ccType.AddString("MAIN BUSINESS");
dlgRepUI.mc_ccType.AddString("OWNERSHIP KIND");
dlgRepUI.mc_ccType.AddString("BUSINESS STATUS");
dlgRepUI.mc_ccType.AddString("GROSS RANGE");
dlgRepUI.mc_ccType.AddString("CAPITAL RANGE");
dlgRepUI.DoModal();
}
CReportUI has a combo box object.... i get a debug assertion message... i also want to set the dialog title from it...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|