Print Page | Close Window

"Workspace Actions"

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=2801
Printed Date: 21 December 2024 at 8:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: "Workspace Actions"
Posted By: Bart D
Subject: "Workspace Actions"
Date 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

 




Replies:
Posted By: Oleg
Date 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


Posted By: Bart D
Date 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 - 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




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