Print Page | Close Window

TrackPopupMenuEx keyboard events sent to frame?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9915
Printed Date: 25 June 2025 at 7:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TrackPopupMenuEx keyboard events sent to frame?
Posted By: rdhd
Subject: TrackPopupMenuEx keyboard events sent to frame?
Date Posted: 17 March 2008 at 4:06pm
When we have a CXTPPopupBar active and use the up/down arrow keys to navigate the menu, our application is also getting the key messages too. Before moving to CodeJock, when we called CMenu::TrackpopupMenu(Ex), only the menu gets messages.
 
How do I tell the popup bar to keep its messages to itself so it behaves more like a windows/mfc popup menu?
 
 
This also happens if we have a popup on the command ribbon bar. In fact, when a popup is displayed on the command ribbon and the user clicks somewhere on the ribbon to dismiss the popup, the button under the mouse gets hit and the system starts the command assigned to the control.
 
I know a popup bar is not a real menu but having a message like TrackPopupMenuEx gives the illusion that I would have popup menu sematics with the call.



Replies:
Posted By: Oleg
Date Posted: 18 March 2008 at 3:57am
Hi,
 
i can't reproduce your first issue  with any our sample. Do you see same with our samples ?


-------------
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