Home > Software engineering >  : genuflect is begged VS2013 MFC in a List Control between header format and List the display of the
: genuflect is begged VS2013 MFC in a List Control between header format and List the display of the

Time:11-25

Everyone passing by the great god, ask a question:
Below red frame tagging, header lines between the list and how to display, this looked very embarrassed, or to how to change a style meter display

CodePudding user response:

Custom painting give it a try, my name is hung with a line is not obvious bugs, but I don't want to change,

CodePudding user response:

reference 1st floor shiyanzi response:
custom painting give it a try, my name is hanging on a line is not obvious bugs, but I don't want to change,

So look embarrassed, I see online teaching, has not been set, but have color header

CodePudding user response:

Passing by the great god genuflect is begged to solve the

CodePudding user response:

Since the draw list head, what style its own, is posted pictures of myself,

CodePudding user response:

Recommend CGridCtrl open source

CodePudding user response:

refer to the second floor u012089794 response:
Quote: refer to 1st floor shiyanzi response:
custom painting give it a try, my name is hanging on a line is not obvious bugs, but I don't want to change,

So look embarrassed, I see online teaching, has not been set, but header has color


Video is done with vc6.0, the system own, view directly to create their own list head show different,,,, solve the didn't, I have the same problem

CodePudding user response:

ListControl is so original,

CodePudding user response:

 DWORD dwStyle.=m_List GetExtendedStyle (); 

CodePudding user response:

 dwStyle |=LVS_EX_FULLROWSELECT; 
DwStyle |=LVS_EX_GRIDLINES;
M_List. SetExtendedStyle (dwStyle);

CodePudding user response:

You can add a border to the header control:
CHeaderCtrl * LPHDR=GetHeaderCtrl ();
LPHDR - & gt; ModifyStyle (0, WS_BORDER);

CodePudding user response:

You can modify the unicode character set is
  • Related