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

    Question owner draw TreeView control,Please help

    Recently, I met a question about owner draw TreeView contronl. From the internet I find many resources about owner draw form or button control and the resources help me indeed,yet I still can't find any of them related to teeview control. First puzzle, what time will Onpaint() method be loaded? Second, What's the relationship between OnPaint() method and Paint Event? From books I find there are 2 way to draw owner button. One is overriding OnPanit() method and the other is writing funtion for Panit Event, What's the difference? In the end , I really thanks any "verteran" could give me some suggestions and ideas about this problem.
    Last edited by phonexyy; August 18th, 2004 at 03:31 AM.

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