Pane capabilities |
Post Reply |
Author | |
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Posted: 01 May 2004 at 1:01am |
I can make the pane not dock on left or right, so it can only be on top and bottom... Can I prevent the pane from being resized vertically? Both floating and docked I want it a fixed size, but when floating you can shrink it horizonally. Can I have the pane drag around like a normal window instead of an outline? The outline blends in too well with the MDI client background and you can't see the outline dragging. |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
As far as I can tell, I can't make the pane have a size restriction without rewriting parts of the codejock source. I tried subclasses and other methods but nothing worked. It looks like CXTPDockingPaneMiniWnd needs to be extended to catch WM_GETMINMAXINFO for when the window is floating and then also when docked the splitter needs to obey the same sizes or disable the splitter on a pane by pane basis if the min size = max size. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I think maybe the feature added 9.51 might work for you. Take a
look at the
PaneSample. Run the application and select Docking Pane-> Min
Max Sample from the menubar. When the pane is floating you can
specify that its min and max width be the same, thus it can not be
resized.
|
|
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 |