SOLVED: DockingPane events don't fire |
Post Reply |
Author | |
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Posted: 29 January 2008 at 8:16am |
The DockingPaneManager does not fire resize, GetClientBordersWidth and ResizeClient events during runtime. Only at startup, these events seem to be fired. I noticed (in the sample Docking panes) that these events should be fired. I really don't know what to do. Please help me
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
I thought there would be only one person who could help me this. And in the beginning it wasn't me. After several days of waiting and hoping for a single suggestion... I had to face the problem myself. The events won't fire because a single line of code: ??????????????
DockingPaneMain.SetCommandBars Me.CommandBars
This is why I rather not copy code from samples
OLEG,
this one is for you.
This is from an example somewhere in VB\CommandBars. What does this line of code do exactly? Do I need this and what for? Now show me there is a great support team that will support us.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes After you added this line you must catch GetClientBordersWidth and ResizeClient events of CommandBars.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Oleg, Yes, I know I have to resize the contents of dockingPanes. But when I set DockingPaneMain.SetCommandBars Me.CommandBars Can you at least tell me what the advantage is for this behaviour? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I just answered - you need ClientRect of CommandBars. It will include Area of DockingPanes.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Oleg,
Are you trying to tell me, when resizing a pane, that the resize client event will be handled by CommandBars?
This is done by using the code: DockingPane.SetCommandBars Me.CommandBars?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Yes :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Oleg,
Why dídn't you tell me that right away .
|
|
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 |