Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Control

Status
Not open for further replies.

raochetan

Programmer
Aug 20, 2001
62
IN
I have created a sub class of CListCtrl, namely CColorListCtrl, and overridden the DrawItem() method so that it can even display color for a legend.

Now i have to 2 list control set as report view and owner redraw. Both these control are used for displaying legend. But one list control has 3 columns and other has only 2 columns. So i want to know how to determine the no of columns in a list control, so that i can use CColorListCtrl class for both the list controls.

Thanks in advance.

rcs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top