I added a Dialog box to my program...then I poped it up by doing the following
CDialog ErrorReport(IDD_DIALOG_REPORT)
ErrorReport.DoModal();
This worked great...then I put a button on my Report dialog and tried to map a function to it. Well, it told me I had to make a new class before I could do that...no problem...so I made a new class for it. Then I mapped the function to the button....when I click the button, it does nothing. The dialog doesn't even call that function. The program is getting stuck in the the RunModalLoop() function it calls after the dialog box pops up. For some reason, my function isn't popping it out of the loop. The only way I can get out of it is to use the x in the upper right hand corner. Any clue why my buttons aren't working? Thanks for all your help!!!
Niky Williams
NTS Marketing
CDialog ErrorReport(IDD_DIALOG_REPORT)
ErrorReport.DoModal();
This worked great...then I put a button on my Report dialog and tried to map a function to it. Well, it told me I had to make a new class before I could do that...no problem...so I made a new class for it. Then I mapped the function to the button....when I click the button, it does nothing. The dialog doesn't even call that function. The program is getting stuck in the the RunModalLoop() function it calls after the dialog box pops up. For some reason, my function isn't popping it out of the loop. The only way I can get out of it is to use the x in the upper right hand corner. Any clue why my buttons aren't working? Thanks for all your help!!!
Niky Williams
NTS Marketing