Home > Software engineering >  MFC listctrl graphic ICONS and the checkbox coexist for the demo
MFC listctrl graphic ICONS and the checkbox coexist for the demo

Time:09-17


The effect of such a
Lane for a long time, the button also not line, bringing the default, is can't change the line height and text output, for a great god save!!!!!

CodePudding user response:

https://www.codeproject.com/Articles/8/MFC-Grid-control-2-27

CodePudding user response:

This look not to understand, I a small white base, have a more detailed

CodePudding user response:

Since the draw CListBox https://blog.csdn.net/VisualEleven/article/details/6183369 can also implement this interface

CodePudding user response:

Not a LISTBOX is ListContorl checkbox redraw replaced with my own images

CodePudding user response:

GridCtrl should be able to meet the needs of you

CodePudding user response:

The checkbox if you create a checkbox controls, custom painting a can also, in other words the icon can be custom painting

CodePudding user response:

Initialization time
M_List. SetExtendedStyle (LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVS_EX_CHECKBOXES ).
  • Related