Print Page | Close Window

Workspace Items adjustable?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2945
Printed Date: 25 May 2024 at 9:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Workspace Items adjustable?
Posted By: Lusiora
Subject: Workspace Items adjustable?
Date Posted: 26 September 2005 at 9:49pm
I use a workspace in an MDI project similar to your "Visual Studio Sample".

The tabs seem to be autogenerated from the icon and caption of the mdi child windows. However, I use child forms that originate in external dlls. For some reason, both icon and caption of those forms are not recognized. A generic icon is displayed, and only the hard coded form caption is displayed as tab text. Changing the caption of an mdi child is not reflected in the workspace tabs.

Question is whether it is possible to set custom tab title/icons.

The MDI childs work fine when displayed as "real" MDI child windows. Problems occur only when displayed in tabbed style.

Any help or suggestion greatly appreciated!



Replies:
Posted By: Oleg
Date Posted: 26 September 2005 at 11:51pm

Hi,

please serach these keywords in forum:

WM_XTP_GETWINDOWTEXT, WM_XTP_GETTABICON



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


Posted By: Lusiora
Date Posted: 28 September 2005 at 7:57pm
sorry, i use a workspace in Visual Basic 6.0

Please help!


Posted By: Oleg
Date Posted: 28 September 2005 at 11:15pm

Try to catch NewItem event of TabWorkspace and set

Item.Caption property.



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



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