ON_MESSAGE reflected?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I have a control that sends ON_MESSAGE to owner window, also, I have a
derived class from this control and I want to catch ON_MESSAGE in my derived
class and not in the owner window; how can I do this? Is there a
'ON_MESSAGE_REFLECT'?

Thanks in advance.
William GS
 
Hello, I have a control that sends ON_MESSAGE to owner window, also, I have a
derived class from this control and I want to catch ON_MESSAGE in my derived
class and not in the owner window; how can I do this? Is there a
'ON_MESSAGE_REFLECT'?

William,

Have a look at "TN062: Message Reflection for Windows Controls" and
"Defining a Message Handler for a Reflected Message" in your MSDN
documentation.

Dave
 
Back
Top