BUG: MDI ClientSize fails to update on docked control resize 
Author Message
 BUG: MDI ClientSize fails to update on docked control resize

Someone please let me know if there is a workaround.

Thanks,
Bob

-----------

Module Main

    Public Sub main()
        Dim frm As New Form()
        frm.IsMdiContainer = True
        frm.WindowState = FormWindowState.Maximized
        frm.Show()
        Dim pnl As New Panel()
        frm.Controls.Add(pnl)
        pnl.Dock = DockStyle.Left
        MsgBox("MDI client width, with docked panel width = " _
            & pnl.Width & ": " & frm.ClientSize.Width)
        pnl.Width = pnl.Width + 400
        MsgBox("MDI client width, with docked panel width = " _
            & pnl.Width & ": " & frm.ClientSize.Width)
    End Sub

End Module



Sat, 30 Apr 2005 04:47:07 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. MDI ClientSize

2. Resizing control height on window restore (MDI child form)

3. BUG: VB6 Fails to debug VB-Made ActiveX control with external program on Windows2000\XP

4. Docking and Undocking MDI child forms

5. Docking windows - MDI Form.

6. How to DOCK windows in an MDI application?

7. Docking MDI-Children?

8. MDI Positioning/Docking Problem

9. MDI co-ordinates, docking form and more

10. How to dock MDI child windows

11. Create Docking Form in MDI app

12. *MDI DOCKING*

 

 
Powered by phpBB® Forum Software