What control event allows RaiseEvent?

  • Thread starter Thread starter SamSpade
  • Start date Start date
S

SamSpade

In Usercontrol code which of it's events is the first one I should do a
RaiseEvent in?

Also, in which on is the controls Handle valid?


Thanks
 
SamSpade said:
In Usercontrol code which of it's events is the first one I should do a
RaiseEvent in?

It doesn't really matter. If somethng hooks it... good... otherwise... who
cares. Only rule I know of is you cannot raise an instance event from a
static(shared) method.
Also, in which on is the controls Handle valid?

Look at CreateHandle or HandleCreated, its one of those.

-CJ
 
Back
Top