Wednesday, December 19, 2007

How to make the MFC AppWizard(exe)

How to make the MFC AppWizard(exe)

To make the MFC AppWizard(exe)

    Windows Programming Fundamentals

Step a: Make the MFC AppWizard (exe)

Step b: Delete the all object in the screen

Step c: Create a button in the dialog box

Step d: the button1 is on the dialog box

Step e: renames the button caption right-click on the Button1

Step f: selects the properties

Step g: enter the name here

Step h: Select the View>Classes Wizard

Step i: select the IDC_HELLO_BUTTON in the Object IDs

Step j: select the BN_CLICKED

Step k: Click the ‘Add Function’ Button

Step l: Click ‘OK’ button use the default name

Step m: Click the ‘Edit Code’ Button

Step n Enter the code here

Result

No comments: