Re: CMenu + COwnerDraw is it possible?

Igor Vigdorchik <igorv007-/[email protected]> Mon, 24 Mar 2014 17:23:43 -0700 (PDT)
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
Konstantin,

Please take a look at this article
http://www.codeproject.com/Articles/13406/Owner-drawn-context-menu-in-WTL

 
Regards,
Igor


________________________________
 From: Konstantin Mironovich <[email protected]>
To: [email protected] 
Sent: Monday, March 24, 2014 8:33 AM
Subject: [wtl] CMenu + COwnerDraw is it possible?
 


  
Hi folks,

I need to create an owner drawn context menu object on stack and do not have 
a solid idea how to redirect WM_OWNERDRAW(...) messages from parent window 
to the object.
maybe to create some kind of proxy window and subclass it?
this proxy could contain CMenu-based object and do all the work needed..

any ideas?

thanks

-km