Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Events for Custom Controls...

Status
Not open for further replies.

rdalton

Programmer
Dec 5, 2002
24
US
I'm using a custom tree control in my application and I want to add an event to the control. I would like to handle the "On Double Click" event. The control has no events that can be handled. How can I add one? Thanks.
 
If you've derived your class from an MFC base such as generic CWnd then you can right-click on the class name in class view and choose "Add Windows Message Handler..." from the menu that shows up.
:)
tellis.gif

programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top