Print Page | Close Window

Right Mouse Click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5224
Printed Date: 04 October 2024 at 3:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Right Mouse Click
Posted By: Kenneth
Subject: Right Mouse Click
Date Posted: 05 October 2006 at 10:44am
We have a customer that does not want a right mouse click on or near a toolbar/menubar to popup any type of menu.  We have tried several different ways to prevent this, but cannot prevent it completely.  Is this possible?



Replies:
Posted By: Oleg
Date Posted: 06 October 2006 at 12:28am
Hi,
 
Catch WM_XTP_TOOLBARCONTEXTMENU message,
 
and
 
CXTPPopupBar* pPopup = (CXTPPopupBar*)lParam
pPopupBar->GetControls()->RemoveAll();


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net