Print Page | Close Window

Using the TabWorkspace with ATL/WTL

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=1483
Printed Date: 28 September 2024 at 5:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Using the TabWorkspace with ATL/WTL
Posted By: JamesH
Subject: Using the TabWorkspace with ATL/WTL
Date Posted: 01 December 2004 at 4:47pm
Does anyone have a sample that uses the TabWorkspace with ATL/WTL?

I have tried extending the CommandBars WTL example to use the tab workspace by adding this line:

    CComPtr<XtremeCommandBars::ITabWorkspace> workSpace = m_spCommandBars->ShowTabWorkspace( TRUE );

But the tab workspace does not appear. And the child MDI windows behave as before, just regular MDI windows.  Any ideas?

Additionaly when I place the same line in my actual application (rather than the sample WTL one) the returned workSpace variable is NULL.  Again, any ideas why?

Thanks,
- James



Replies:
Posted By: Oleg
Date Posted: 02 December 2004 at 3:12am
m_spCommandBars->ShowTabWorkspace(VARIANT_TRUE);

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


Posted By: JamesH
Date Posted: 02 December 2004 at 1:37pm

Where's the smack head emoticon...

Thanks Oleg.

Perhaps before I investigate why the workspace returned in my app (works in the WTL sample) is NULL.  I should ask this:

Is it possible to create customer layouts for the tabs of the workspace?  For example rather than just the new horizontal/vertical group would it be possible to have one with 4 groups in a quad?  (ie. 2 tab groups on top and 2 underneith). 

 If this is not possible we will have to look into creating some type of custom windowing, do you think it would possible perhaps using a tab control embeded in a docked pane?




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