Re: CTreeViewCtrl and WM_PAINT

Igor Tandetnik <[email protected]> Fri, 04 Feb 2011 12:46:20 -0500
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
On 2/4/2011 7:56 AM, Andrey Sergienko wrote:
> So as I think CMyTreeViewCtrl does not ever receive WM_PAINT message. So
> how to do what I want?

Derive your class from CWindowImpl<CMyTreeViewCtrl, CTreeViewCtrl>. 
CTreeViewCtrl by itself doesn't provide the machinery to hook window proc.
-- 
Igor Tandetnik



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/