 |
|
|
While using your Dock container project I found a slight problem on windows Vista. Under Vista the auto hide buttons etc do not get drawn. To fix this problem you need to change GetDCEx call inside the DrawExtraButtons method in the DockableToolWindow class which looks like this
IntPtr dc = GetDCEx(hWnd, new IntPtr(1), DCX.WINDOW | DCX.INTERSECTRGN | DCX.CACHE | DCX.CLIPSIBLINGS);
the problem is Vista will always return this as a 0 value, I don't know why the vista behavior is different from XP, but it is, and so when you check if the dc is null it always is, so if you change the line to this
IntPtr dc = GetDCEx (hWnd, (IntPtr)0, (DCX.WINDOW | DCX.CACHE | DCX.CLIPSIBLINGS));
everything works fine, just thought I would pass this on
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
Please provide steps (including form & tool window sizes & positions) and eventually some screen captures. You can send them by mail to contact@osec.ro with the subject "Dockable tool window issues"
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
I get the same thing to happen. I have an MDI form, which I added the DockContainer to. Then I added some toolboxes that I want to be able to have moved around, hidden, shown, etc... to it. I got like four of them right now. Anyhow, they start up fine, and are docked to the bottom (so they are tabbed). Then, I click on the little PushPin (which should autohide them??) but it just shrinks the toolbar to about 1/2 the height, and it gets stuck there. I can't resize or nothing. The only thing I can then do to the window is move it around.
Here is the Code that I use to create the toolbox windows:
twTasks = New Crom.Controls.DockableToolWindow Me.pnlTasks.Parent = twTasks pnlTasks.Dock = DockStyle.Fill Me.pnlTasks.Visible = True twTasks.MinimumSize = pnlTasks.MinimumSize twTasks.HideInsteadClosing = True twTasks.Text = "Task List" twTasks.Tag = "Tasks" AddHandler twTasks.VisibleChanged, AddressOf HandleToolWindowVisibility Me.DockContainer1.AddToolWindow(twTasks)
Greg Conely www.imagementor.net
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please provide steps (including form & tool window sizes) and eventually some screen captures. You can send them by mail to contact@osec.ro with the subject "Dockable tool window issues"
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please provide steps (including form & tool window sizes & positions) and eventually some screen captures. You can send them by mail to contact@osec.ro with the subject "Dockable tool window issues"
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
This looks like what i need for a project, but the links to documentation and code are not working.
Could you please provide alternate links?
Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
So I have an application that has about 10 main forms, 6 "toolboxes" and about a dozen or more other helper forms (date selectors, etc...). I started using this control for my toolboxes, and love it.
I added your control, then changed my code to display my toolboxes as DockableToolWindows. I compiled and ran my application. The toolboxes worked great. But none of my other MDI windows would show up. No errors or nothing. I imagine that they are hidden within the MDI under the DockContainer .
Once I took of the MDI parent\container for these other windows, they would show up, but as seperate windows all together, and not as MDI windows as I want. I have been working around some of it by adding these other forms as DockableToolWindow, but it is just not going to work. One of the main reasons is, on one form, the user can "Search for Client" which should popup a dialog that lets them search for a client. I cannot pop this up as a child form because I cannot add a top level control to my form that I have as a DockableToolWindow.
Can we get this fixed asap plz? Thanks much.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please send (at cristinel@osec.ro) a spike application proving your problem and a short description stating what you want to obtain.
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
|
if I understand ur question!!!
if u want to dock forms that u create in design time, u have to change the "Inherits" statment from "Inherits System.Windows.Forms.Form" ---> "Inherits DockableToolWindow"
u may do this by editing the file Form1.Designer.vb (if ur form is called form1) by any text editor
then in the code u should dock the form with the container:
DockContainer1.DockToolWindow(Form1, zDockMode.Top) Form1.Show()
Aiman Ibrahim
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I use DockableFrame. When I undock the frame, I want it to be "not always on top". Is there a way to do this?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
I noticed a good prortion of the links in the documentation. Was this by design or is the documentation incomplete at this stage. Also i think you should add methods to serialize and deserialize the control.
Sincerely, Angelo
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
The documentation is (auto)generated with NDoc. Our sources are documented with xml comments. If there are problems with some links pointing to our types, please let us know what links. I think that links pointing to Microsoft are not working because their MSDN was moved since the NDOC was released (?). We didn't considered to worth the effort of investigating links to Microsoft types, but if you know what to change in NDoc config file to fix this, we will appreciate the information. We plan to implement serialization in the control but we have other higher priority projects so we can't tell you when this will be released. If you have a good solution for serialization, we can discuss about it and we can add it in the project, putting you as contributor to the project.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
- Bug 1
creates three new window [window 0, window 1, window 2]. docking as order in left, top and fill.
creates a new window[windows 3]. put on window between left and top area.
undocking left side docking window or top side docking window. window[window 3] hidden of fill area.
left side docking window or top side docking window. the pin fixes. when releases(un-pin) a fixation. window[window 3] hidden of Corresponding window area.
- I want 1 improvement program
The new window creates and docks in left.
The new window in addition creates and docks in the right side of left area and.
This time when left area comfort grows moves, DockButton moves toward left area side and left area puts out and from left, top, right, bottom and fill possibly to do wants.
When also docking in branch left, when ButtonToDock button shook off with docks CenterButtonToDock button shook off with docks at left whole sizes, docks at size of left area which except top and bottom area.
Namely, ButtonToDock button shook off with CenterButtonToDock button shakes off and to divide wants docking of Visual Studio 2005 styles.
- I want 2 improvement programs
Tap button shook off when the pin fixation at the time of the window 2 or more is piling up in same area only, when comes out.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thank you for the bug you found. We'll post a fix for it as soon as we can re-allocate some resources for this project. In this moment we have other higher priority projects so we can't tell you when this fix will be released. If you have a good solution for the issues you mentioned, we can discuss about them and we can add them in the project, putting you as contributor to the project.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I don't know well the problem, but the text on the tab button of a panel render bad.
I try to edit the lines 298 of the TabButton class, but it doesn't change anything...
There is a capture of the problem...
[^]
sorry for my bad english!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please tell us: 1. What resolution is set on your monitor 2. What color depth is set on your monitor 3. What font you've set to the DockContainer (if you changed)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I want to fit the DockContainer and all docked windows inside another user control. But it doesn´t work, the DockContainer is always larger than the parent control. I dont´t want to set an minimum size of the parent form. I have a DockableToolWindow which is docked with DockStyle = zDock.Fill and several windows docked on the sides. How do I make the control fit his parent?
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
The DockContainer control has computed a minimum size which is required to display all the panels without overlapping. More details on this you can find in documentation, on DockContainer.MinimumSizeChanged Event. You should update your container UserControl minimum size when the event is triggered by DockContainer. You should also update your parent form with this minimum size. However if you really need to ignore this minimum size, you can disable it from code in the method UpdatePanelsLayout from DockPanelsResizer class (just comment the line _container.MinimumSize = new Size(_minViewWidth, _minViewHeight) .
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thx, but commenting _container.MinimumSize ... did not help. I also set MinimumSize in the designer.cs file to (0,0), but it did not work either.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
This should work. That line is the single place where the minimum size is set inside DockContainer project. Check for MinimumSize (or other size constrains) in the entire solution.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |