tab workspace tooltip question v9.70 rc2 |
Post Reply |
Author | |
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
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. |
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
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? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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. |
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
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? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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
|
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
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 '
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I think it would be better to put this into Issue Track so you can upoad your file.
|
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
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. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Somthing like:
CommandBars.TabWorkspace.Selected.ToolTip = "text" |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |