Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Workspace Items adjustable?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Workspace Items adjustable?

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


Joined: 26 September 2005
Location: Korea, South
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lusiora Quote  Post ReplyReply Direct Link To This Post Topic: Workspace Items adjustable?
    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!
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: 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
Back to Top
Lusiora View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Location: Korea, South
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lusiora Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2005 at 7:57pm
sorry, i use a workspace in Visual Basic 6.0

Please help!
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: 28 September 2005 at 11:15pm

Try to catch NewItem event of TabWorkspace and set

Item.Caption property.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.156 seconds.