Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Disabled Vert/Horiz Tab Group Menu Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disabled Vert/Horiz Tab Group Menu Items

 Post Reply Post Reply
Author
Message
JayW View Drop Down
Newbie
Newbie


Joined: 25 May 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote JayW Quote  Post ReplyReply Direct Link To This Post Topic: Disabled Vert/Horiz Tab Group Menu Items
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
JayW View Drop Down
Newbie
Newbie


Joined: 25 May 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote JayW Quote  Post ReplyReply Direct Link To This Post 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

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.