Profile Picture

Want to adjust height of nMenuBar

Posted By JSW W. 14 Years Ago
Author
Message
Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JSW W.,

To reduce the height of the NMenuBar you need to set the Height of the CommandSize property.

Please, note that you can do that only if you don't have special commands like minimize, maximize, close that comes from the maximized NUIDocument. The size of these special commands was taken from SystemInformation.SmallIconSize.

Regards,

Angel.



JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
Hide/Show did the job for keyboard action.
However, I am still puzzle with the menubar height adjustment. Play around and only thing that affect is maximumsize but it disfigured the bar.

Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JSW W.,

To reduce the height of the NMenuBar you need to set the Height of the CommandSize property.

Please, note that you can do that only if you don't have special commands like minimize, maximize, close that comes from the maximized NUIDocument. The size of these special commands was taken from SystemInformation.SmallIconSize.

To hide and show NMenuBar all you need is to call respectively Hide and Show methods.

Regards,

Angel.



JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
1) I want reduce the height of Menubar. What would be the property to do this?

2) Also I want to press F9 to hide/show Menubar -- are there property available or some snipet?

Thanks,



Similar Topics


Reading This Topic