I create an Instance of CCknVerticalTextAndIconListBox and populate it with text as given in the sample with the SDK.
I have populated the modeliconarray with null as in the sample to turn the icons off. When I populate just on item it shows correctly. When I populate more than one items I get an error on iIconList->DrawNow().
Any reason why this error?
Also in the sample it says to set the column gap use View()->SetColumnGap(2). But the CListBoxView does not have a method SetColumnGap.
//Create scroll bar frame.
//Set the HORIZONTAL scroll bar to be ON, and the VERTICAL one to be off.
//Set the border type. This defaults to ENone.
//Set the gap between items to 1.
Posted by brijesh Gajaria, firstname.lastname@example.org
on January 04, 2002 at 09:21