|
-
April 29th, 1999, 11:35 AM
#1
DrawItem() on ListCtrl isn't called
Hi,
I'm trying to write an owner-drawn List control. To do this I've implemented CListCtrl's DrawItem().I also clicked the "Owner draw fixed" Checkbox of that control in the resource editor, and checked that LVS_OWNERDRAWFIXED does appear in the .rc file.
However DrawItem() never gets called !!! the control simply draws the images and text I insert without going through InsertItem().
Any Ideas any one ?
Thanks,
Omer
-
April 30th, 1999, 09:33 AM
#2
Re: DrawItem() on ListCtrl isn't called
I assume you know that ListCtrls can only be use drawn in "report" mode? In small icon and large icon modes they owner draw flag has no effect.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|