Print Page | Close Window

Disabled Vert/Horiz Tab Group Menu Items

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=2315
Printed Date: 01 October 2024 at 1:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disabled Vert/Horiz Tab Group Menu Items
Posted By: JayW
Subject: Disabled Vert/Horiz Tab Group Menu Items
Date Posted: 02 June 2005 at 12:13pm

I am using an MDI tabbed interface and have called CXTPTabClientWnd::Attach enabling groups.  I placed the "Workspace Actions" menu item in the "Window" menu with XTP_ID_WORKSPACE_ACTIONS (35002) as the ID. However, when I have multiple tabbed views, the menu appears but is not enabled.  The same is true of the drop menu when a tab is dropped on another. 

I'm obviously new to the toolkit.  Apologies in advance for the rookie question.

Jay




Replies:
Posted By: Oleg
Date Posted: 03 June 2005 at 1:45am

Your main frame is CXTPMDIFrameWnd derived?

if yes -> Check maybe you override OnCmdMsg and don't call CXTPMDIFrameWnd::OnCmdMsg

if no -> Make it.



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


Posted By: JayW
Date Posted: 03 June 2005 at 8:05am

Oleg,

Greatly appreciated.  I had derived the class correctly, but had overridden OnCmdMsg and didn't change the pass through call from CFrameWnd to CXTPMDIFrameWnd. 

Thanks again for saving me from myself!

Jay

 




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