Print Page | Close Window

Problem with Trackpopupmenu

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=7638
Printed Date: 03 March 2025 at 12:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with Trackpopupmenu
Posted By: bluesaphire
Subject: Problem with Trackpopupmenu
Date Posted: 20 July 2007 at 5:00am

 Hi,

I have a MDI application where i display popup menu whenever any item is selected on the view and right clicked.
 
we are maintaining our own message loop to handle the messages and using Trackpopupmenu to display the popup menu.Do right click on the selected item in the view - popup menu appears.
 
However the problem comes when the menu extends beyond the  Client area of mainframe.The popup menu appears in this case too but because of the WM_RBUTTONUP and WM_PAINT messages being sent by the Codejock,we are facing an issue as our application message handlers would handle the RightButtonUp message in a different way.
 
Is there anyway to stop the inflow of those messages or can you suggest how do i handle this scenario...
 
 
 
 
 



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