Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
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.
onenever1123
2016-08-23
0
1
PC software dynamic acquisition of computer COM po
no vote
Application background Generating a single document program by MFC6.0, then create a dialog and generate a new class; add two combo box controls in the dialog box. Right - click on the generated new class to increase the windows message WM_INITDIALOG generating the processing function, the function contents see key technology description ". The baud and index in the function body are int type, and can be set as the global variable.. Key Technology CComDlg: OnInitDialog:   () BOOL;{CDialog:: OnInitDialog ();((CComboBox *) GetDlgItem (IDC_COMBO2)) -> AddString ("4800");((CComboBox *) GetDlgItem (IDC_COMBO2)) -> AddString ("9600");(CComb
onenever1123
2016-08-23
1
1
No more~