How to make the OK and CANCEL message boxes
To make the OK and CANCEL message boxes...
Step a: Make the MFCAppWizard(exe)
Step b: Make a Push Button in the dialog box

Step c: View>ClassWizard
Step d: Class Name: CprojectDlg Object ID:IDC_BUTTON1 Message:BN_CLICKED
Step e: Click the ‘Add Function’ button
Step f: Click the ‘Edit Code’ Button

Step g: Enter Code

No comments:
Post a Comment