![]() |
OnContextMenu not execute |
Post Reply
|
| Author | |
Makarand
Senior Member
Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: OnContextMenu not executePosted: 13 November 2007 at 1:58am |
|
Hi Oleg,
I have toolbar which is having set of buttons. class CCmcCustomToolBar : public CXTPToolBar I trap MFC message afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); Whenever I right click on toolbar button function OnContextMenu not execute. I have gone through the examples but not able to find the code.. please help me. waiting for reply Thanks in advance |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 November 2007 at 11:20am |
|
Catch WM_RBUTTONUP instead.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Makarand
Senior Member
Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 November 2007 at 7:40am |
|
Thanks a lot Oleg.
using WM_RBUTTONUP I am able to display popup menu.. I am wondering why OnContextMenu is not executed ? |
|
![]() |
|
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 |