Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - "Workspace Actions"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"Workspace Actions"

 Post Reply Post Reply
Author
Message
Bart D View Drop Down
Newbie
Newbie


Joined: 27 August 2005
Location: Netherlands
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bart D Quote  Post ReplyReply Direct Link To This Post Topic: "Workspace Actions"
    Posted: 27 August 2005 at 6:35am

Using the "ToolkitPro Application Wizard" I've created an application that uses the MDI-TabbedWindow Interface.

I'd like to be able to create Horizontal / Vertical Tabgroups.

To this extend, I've added a menu item to the Windows menu, called "Workspace Actions" With and ID of 35002.

This should bring up two - three menu items that help managing the tabbed panes.

However, these menu items (New Horizontal Tab Group, New Vertical Tab Group) do NOT show up .  They DO show up, when I add the same menu item to the example project "Bounc2".

So the questions is, what do I overlook here?????

Any help is highly appreciated....

Bart

 

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: 27 August 2005 at 11:13am

Hi,

replace m_wndMTIClient.Attach(this);

to

m_wndMTIClient.Attach(this, TRUE);

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Bart D View Drop Down
Newbie
Newbie


Joined: 27 August 2005
Location: Netherlands
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bart D Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2005 at 8:06pm

Thanks for the quick response,

I did this in the very end, as I could not find a separate "enable" method, as is available for the Xtreme Command Bar Tabs. See for instance:

http://www.codejock.com/products/commandbars/activex/cb_tab_ groups.asp

However, this is only half the answer, in  

CChildFrame::PreCreateWindow(CREATESTRUCT& cs), you also need to make sure that the Maximize style is not selected.

I used: cs.style = WS_CHILD | WS_VISIBLE | FWS_ADDTOTITLE;

Cheers

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.121 seconds.