CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    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


  2. #2
    Guest

    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
  •  





Click Here to Expand Forum to Full Width

Featured