Print Page | Close Window

tab workspace tooltip question v9.70 rc2

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=2328
Printed Date: 17 November 2024 at 5:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: tab workspace tooltip question v9.70 rc2
Posted By: tobi
Subject: tab workspace tooltip question v9.70 rc2
Date 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 ?




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



Posted By: SuperMario
Date 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.


Posted By: JamesH
Date 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?



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


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

 



Posted By: SuperMario
Date 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.


Posted By: tobi
Date 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 ?



Posted By: SuperMario
Date Posted: 07 June 2005 at 1:08pm
Somthing like:
    CommandBars.TabWorkspace.Selected.ToolTip = "text"



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