How to raise events in a Windows control libarary?

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

Guest

Hi, friends,

I need to raise certain events in my VC# windows control library. Any
reference paper or sample source code for help? Thanks a lot...
 
What do you mean "raise event" in the "control library"? Are you talking
about controls that are part of the framework like a control inherited from
the Control class.

If you have inherited from an existing control, then you can usually call
the OnX methods which raise the event.

Or are you talking about how to raise events, in general?
 
Thanks.

Yes, you are right. When you open a new project in VC#, select the Windows
Control Library icon from right pane, that is the one I am talking about.

I mean how to raise customer events, i.e., my own events, from the control I
created by myself, so that potential users can program based on each events.
This control does NOT need to inheritate any events from controls it
contains, such as text box, combo box, etc.
 
Back
Top