Home > Software engineering >  How to add extensions in CMFCPropertyGridCtrl controls combo box CComboBoxEx?
How to add extensions in CMFCPropertyGridCtrl controls combo box CComboBoxEx?

Time:09-15


How the drop-down combo box with a bitmap, and a great god know

CodePudding user response:

CMFCPropertyGridColorProperty Class

CodePudding user response:

Here only see ordinary text drop-down box, not with a bitmap

CodePudding user response:

Use the wizard generated MFC in SDI and MDI color sample
 
CMFCPropertyGridColorProperty * pColorProp=new CMFCPropertyGridColorProperty (_T (" window color "), RGB (210, 192, 254), NULL, _T (" specifies the default window colors "));
PColorProp - & gt; EnableOtherButton (_T (" other... "));
PColorProp - & gt; EnableAutomaticButton (_T (" default ") : : GetSysColor (COLOR_3DFACE));
PGroup3 - & gt; AddSubItem (pColorProp);




CodePudding user response:

Thank you, this middle out below this effect:

That is not what I want
  • Related