How remove CListCtrl columns lines (WIN32)

drjackool 956 Reputation points
2021-11-26T07:10:57.227+00:00

Hi
How remove these vertical lines that separate columns in list ctrl? I hide columns but these lines are visible!
152796-untitled.png

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,850 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Guido Franzke 2,186 Reputation points
    2021-11-26T07:53:52.017+00:00

    Hello,
    how do you set the style of your listcontrol? To hide the lines, you must add: dwStyle & ~LVS_EX_GRIDLINES .
    Regards, Guido


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.