LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Menu shortcuts to work when another panel is active

My app contains several panels. I want to have the menu shortcuts (like ctrl-a, etc) of the main panel available when the other panels are active.

One option is to load the menu bar into the smaller panels as well, but that makes it visible on those panels too. Since these are quite small panels, it looks a bit peculiar. I can make a smaller menu which contains the most wanted options, but I would prefer no menu bar visible at all on the smaller panels.

Is there a way to either load an invisible yet active menu bar into a small panel, or to make a menu bar from the main panel a global menu bar?
0 Kudos
Message 1 of 2
(2,936 Views)
There is no way to hide the menu bar, so you will need to use a workaround. What I did is I took an example with two identical menu bars, and I added for each shortcut a button. The button I placed outside the visible area of the window, and I assigned their callback to call the original callback.

Erik v.H.
Applications Engineering
NI Netherlands
0 Kudos
Message 2 of 2
(2,936 Views)