Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - tab workspace tooltip question v9.70 rc2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

tab workspace tooltip question v9.70 rc2

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: tab workspace tooltip question v9.70 rc2
    Posted: 06 June 2005 at 11:06am

In your VB6 TooltipContext sample you set a tab workspace tooltip at the creation of a new workspace child.
How can I change it when the user e.g. saves the document with another filename ?

Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 11:43am

Hello,

This isn't related at all to Tobi's question but I thought I'd try and keep all the RC2 questions grouped together.

Does anyone know what the PaneHasMenuButton setting does?  I've tried applying it but I can't see anything different with the panes.  Does it need to have something else set as well?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 11:46am
JamesH,
It adds a small arrow button to the pane caption.  When this button is pressed, it fires an event that has the x and y coordinates so that you can display a menu or whatever you want.  There is a new MDIDocking C# sample that illustrates how to do this.
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 12:52pm

Hello SuperMario,

Thanks for the quick response.  Unfortunately I don't have a C# compiler installed on my main development machine so was unable to view the sample (pre-compliled samples would be nice for this reason!).

I figured out what my problem was.  I have a default pane layout that is saved as an XML string and I load that to setup my panes when our application starts.  The problem is that configuration also includes the pane option fields.  So even though I was setting the PaneHasMenuButton option when the pane was first created later when I load they layout this option is overwritten.  (A tricky situation I hadn't considered when new features are added the existing user layouts will need to be updated)

After I got around this problem I see the new menu icon but the event doesn't seem to be firing when I expect.  My sink map entry is:

  SINK_ENTRY_INFO(IDC_DOCKINGPANE, __uuidof(XtremeDockingPane::_DDockingPaneEvents),/*dispid*/ 0x07, OnDockingPane_PopupMenu, &OnDockingPanePopuMenuInfo)

Is that the event it should be firing?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 1:10pm
I have not used WTL, so I am not sure on the syntax.  The name of the event is PanePopupMenu.  I pulled this information from the .NET object browser:  AxXtremeDockingPane._DDockingPaneEvents_Pane PopupMenuEvent
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2005 at 11:47am

Thanks SuperMario,

I'll look into that.

I've also reported an issue with RC1 (and RC2) to do with the active pane.  I've written to 'beta@codejock.com' and sent a sample application that shows the problem.  I've also entered it into the knowledgebase/help desk area on the beta site but I haven't heard from anyone.  What is the correct procedure for submitting issues with the beta version?

 

Thanks,

- James 

 

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2005 at 12:05pm
I think it would be better to put this into Issue Track so you can upoad your file.
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2005 at 12:40pm

Does anyone have any suggestions to my initial question ? ;-)

In your VB6 TooltipContext sample you set a tab workspace tooltip at the creation of a new workspace child.
How can I change it when the user e.g. saves the document with another filename ?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2005 at 1:08pm
Somthing like:
    CommandBars.TabWorkspace.Selected.ToolTip = "text"
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.188 seconds.