tailieunhanh - Classic Controls - Trần Anh Tuấn A

Classic Controls - Trần Anh Tuấn A includes about how to create a MFC project in VS ; introduction to Classic Controls. It presents based on your step will ask users type of Application, some feature and support for user to include and something else. | Classic Controls Trần Anh Tuấn A Week 1 How to create a MFC project in VS Introduction to Classic Controls Initial Step : New a project with specific ProjectName , Location , and kind of Project File > New Step 1 : Based on your step will ask users type of Application (MDI , SDI , Dialog Based Here are some example of MDI, SDI , Dialog Based Step 2 & 3 : Some feature and support for user to include. (Recommend for default) Step 4 : Confirm all information about class which will be created like : Class Name , Header File (.h) , Implementation File (.cpp) and Base Class When you finish, all your specifications will be showed. Now we glance at something in our project In Workspace Window we have three tabs to view project components Class View : List all Classes and corresponding Functions that are present in our Project. You can insert new Class into your project by Right Mouse and New Class There are three class type. MFC Class (a new class derived from any MFC Classes) , Generic Class ( any new classes from user view) Form Class (a new class derived from Dialog Class) Resource View : List all resources that we use in our project. Here are some kinds of Resource Dialog : resource for users to create another dialogs Icon : insert or draw an icon which you like String Table : allow user to define a long string by an ID For example: we define a long description with an IDS_STRING1 like : Menu : add one or more Menu for your application Toolbar : Add and Design a your new toolbar. Accelerator : Define a hot key for your function. Such as Ctrl+X : Close Window Bitmap : Import a bitmap or draw directly by Draw Toolbar File View: Seperate all components by files including Source File (cpp) , Header File (.h) , Resource File ( files resulting from Resource View). Note : when you insert a new class into project. Always two files (.h and .cpp) will be added Class Winzards Window : Click View Class Winzard and we see Message Maps : a map between ObjectID . | Classic Controls Trần Anh Tuấn A Week 1 How to create a MFC project in VS Introduction to Classic Controls Initial Step : New a project with specific ProjectName , Location , and kind of Project File > New Step 1 : Based on your step will ask users type of Application (MDI , SDI , Dialog Based Here are some example of MDI, SDI , Dialog Based Step 2 & 3 : Some feature and support for user to include. (Recommend for default) Step 4 : Confirm all information about class which will be created like : Class Name , Header File (.h) , Implementation File (.cpp) and Base Class When you finish, all your specifications will be showed. Now we glance at something in our project In Workspace Window we have three tabs to view project components Class View : List all Classes and corresponding Functions that are present in our Project. You can insert new Class into your project by Right Mouse and New Class There are three class type. MFC Class (a new class derived from any MFC .