CMenu + COwnerDraw is it possible?

"Konstantin Mironovich" <[email protected]> Mon, 24 Mar 2014 16:33:12 +0400
Newsgroups gmane.comp.windows.wtl
Organization ixbt.com
Message-ID <456BF5D044EB4C118037FE4EB7D1FEFE@KLM64>
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