Environment: VC++, list controls
To insert a control:
- Select Radio Button.
- Select SubItem Control index From [SubItem Index] ComboBox.
- Press Insert Control Button.
To add to control text:
- Select SubItem Control index From [SubItem Index] ComboBox.
- Press [Add Text ToControl] Button.
Attach Message [ Message like BN_CLICKED] + Message Handler [Function of void * pFunction () type ]
m_NeuListCtrl.AttachEvent_HandlerForItemControl( 0,BN_CLICKED,pFuncShowColorDialog);
I am setting Message BN_CLICKED and Message Handler pFuncShowColorDialog For Control at SubItem 0.
Clicking the button will display the Color dialog.