Gridlines without checkboxes in Listcontrol
-
I am using the folowing code to add gridlines to a report-Style Listcontrol:
dwExStyle = m_listSpeeds.GetExStyle(); dwExStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES; m_listSpeeds.SetExtendedStyle(dwExStyle);
For some reason this is adding checkboxes to my control as well as gridlines. Why is this happening :((and how I can disable this behaviour? well hell doesn't want you and heaven is full. Tom Waits -
I am using the folowing code to add gridlines to a report-Style Listcontrol:
dwExStyle = m_listSpeeds.GetExStyle(); dwExStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES; m_listSpeeds.SetExtendedStyle(dwExStyle);
For some reason this is adding checkboxes to my control as well as gridlines. Why is this happening :((and how I can disable this behaviour? well hell doesn't want you and heaven is full. Tom Waits -
Try changing the first line from
dwExStyle = m_listSpeeds.GetExStyle();
todwExStyle = m_listSpeeds.GetExtendedStyle();
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
-
Thank you!! It works:-D What does your signiture mean in English?:omg: well hell doesn't want you and heaven is full. Tom Waits
-
Well it doesn't really mean anything :-D This is however the German version of "The funniest joke in the world"[^] according to Monty Python.
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!