MFC create personalized menu bar
no vote
Application background The routine use of the Microsoft development tools mfc6.0, mainly aiming at the shortcomings of the MFC generation icon in the toolbar is too small to form a single, thereby creating a belongs to own personalized software toolbar, toolbar program code modifications on the toolbar that provides broad space for modification. Meet the aesthetic needs of different.This code is I spent a lot of time to explore out, after the actual testing available, online and unique. Key Technology 1 generate a single document program through MFC.2 double click the CMainFram class, and define two CToolBar and protected to the right of the   member; CImageList object.3 ICON insert 8 ICO icons in the Rescourceview view.4 open the CMainFram function in the onCreate class to annotate the system generated toolbar code and add code to generate your own personalization toolbar.