DAE
asked on
Classes Interact
Suppose that I have a COleControl that open a CDialog, how can I do to interact with the parent class?? Via messages??
Thanks.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thaks SteH and Andy
Messages are a general way of communicating without relying on knowing anything else about the windows involved.
If you are worried about using a message that is already in use then look at RegisterWindowsMessage in help. This gives a unique message for an identifier, other windows will get the same ID for the same identifier.