![]() |
How to know the control clicked? |
Post Reply
|
| Author | |
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Topic: How to know the control clicked?Posted: 03 March 2005 at 3:56am |
|
Hello. There is docking toolbar, in the toolbar there are sevral CXTPControlButton buttons. When right-click button, I want to know which is right-clicked. Please help me. Thanks. Freehawk |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 March 2005 at 12:32am |
|
Override CXTPToolBar and add ON_WM_RBUTTONUP message handler.
void CToolBar::OnRButtonDown(UINT nFlags, CPoint point) CXTPToolBar::OnRButtonDown(nFlags, point); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 March 2005 at 2:41am |
|
Thank you very much. I will try it. Freehawk
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |