NMenuBar issues


Author
Message
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3

1) I've been trying to follow the sample titled "Mdi Children Custom Frames".  My first problem is when I went to the Visual Studio 2010 IDE Toolbox to find the NMenuBar that the sample is using it doesn't exist.  All the other N* UI controls seem to be present and I can create them.  I tried the Choose... menu item on the toolbox and it doesn't show an NMenuBar as something that can be added.  Seems like its missing yet I know its not.  How do I create an NMenuBar?

2) I copied and pasted from your sample the NMenuBar into my form and its not behaving as I expect.  On an empty form it sticks it in the middle of the form.  I saw that the menu was added to the form and I subsequently added a NCommandBarsManager (like the sample has) and hand edited the designer .cs file to instead add it to it.  With the menu displayed  I'm having problems with docked panels painting underneath the menu now and figured I should ask for help before spending any more time on this.  I'm using the 2010 Vol1 version of the Nevron UI with C#.  Other things seem to be working fine but I don't understand how to create menus properly.

Thanks for any thought.


Reply
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3
I was able to determine what the difference was between the sample application and my trying to reproduce its layout in the IDE.  I had to change the NDockManager RootContainerZIndex property.  It defaults to 4 and it needs to be changed to 0.  Changing it to 0 fixes this painting problem.  Sounds like a bug in the Nevron UI suite to me.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search