CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #1
    Join Date
    Sep 2011
    Posts
    7

    call DrawItem(). OnPaint()

    I have a class named CMyListCtrl derived from CListCtrl using LVS_REPORT
    with multiple columns. It is owner draw and overrides both OnPaint() and
    DrawItem().but it dosen't work,only onpaint() function work,and the drawitem can't be called .why the drawitem and onpaint function aren't carried out at the same time and just execute onpaint?thank you to help me.
    Last edited by xiaohangge; September 21st, 2011 at 09:05 AM.

Tags for this Thread

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