LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add a menu to a panel?

Just starting to use CVI - how do I associate a menu with a panel? I've filled out the menu dialog several times, and the code generator creates all the call backs, but when I run the application, no menu! What am I missing?
0 Kudos
Message 1 of 3
(3,276 Views)
You can add a menu t a panel in two ways: in the UIR editor popup the panel properties panel and select the appropriate menu bar to display on the panel; if you don't want to load the menu bar in the editor, you can add a menu bar to a panel by using LoadMenuBar (panelHandle, menuBar...) (written by memory, so some parameter can be missing...).


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,275 Views)
I see... Thanks!
0 Kudos
Message 3 of 3
(3,272 Views)