Keep NavigationBar and MenuBar visible on a Desktop when maximizing a form

Closed
0
0

Hi,

I’m trying out the Desktop control with a NavigationBar and a MenuBar but these controls can be overlapped when a form is created. When a new form is maximized the menu’s are completely hidden.

This is my test code in the Destop source:
Private Sub MenuItem_NewNotification_Click(sender As Object, e As EventArgs) Handles MenuItem_NewNotification.Click

Dim p As New N_Container With {.ControlBox = True, .FormBorderStyle = FormBorderStyle.Sizable, .Text = “1111111”, .MaximizeBox = True, .MinimizeBox = True, .Movable = True, .MdiParent = MDIParent}
Dim n As New Notification With {.Dock = DockStyle.Fill}
p.Controls.Add(n)

p.Show()
p.ShowInTaskbar = True

End Sub

Dim MDIParent As DesktopMDI = Nothing

Private Sub Desktop_Load(sender As Object, e As EventArgs) Handles Me.Load

Dim p As New DesktopMDI
p.Show()
MDIParent = p

End Sub

 

This is just some test code ofc. But how can I make sure the NavigationBar and MenuBar isn’t behind any form either when that form is maximized or dragged over them?

 

Thanks in advance!

 

Vincent

 

  • vincent_
    Where DesktopMDI is a wiseJ.web.form with MDI enabled and N_Container is just a basic WiseJ.web.form
  • You must to post comments
0
0

I’ve fixed the issue by not using a desktop directly but instead place a desktop control on a page. This fixed my problem 🙂

  • You must to post comments
Showing 1 result