SetMenuBarAttribute

Hello

I want to be visible under the United Nations as part of a. I used SetMenuBarAttribute. The question, what do I put as 1st and second listen: the menu bar or the parent point?

Kind regards.

Excuse me,

My french is not good enough to be aware of the difference...

For submenues, the first parameter is the same handle of menu bar you get from the LoadMenuBar, the second parameter is the item id of menu as assigned in the User Interface Editor, for example MENUBAR_ITEM1_2_ITEM1_4_ITEM1_14. It works as well for the menu and submenu items (child) elements.

Tags: NI Software

Similar Questions

  • setctrlmenuattribute

    Hello ,.

    Pluggable function SetCtrlMenuAttribute to put a point of my menubar checked

    Hello, I will answer in English...

    SetCtrlMenuAttribute is intended to manipulate the menus belonged to specific controls such as tables or other. To manipulate menu bars, you must use SetMenuBarAttribute instead.

  • DiscardMenuItem failure error - 11

    I have a menu that I created in the user interface editor and placed on a Panel.  I want to remove the menu items programmatically.  I get error - 11 UIEInvalidMenuItemId.  I tried to remove the Panel menu and loading menu separately and I still get the error.  When that I failed triedI to set the dimmed atrribute.  It worked.

    Pascal = LoadMenuBar (iMainPnl, "140613.uir", MBR_BADGE);
    ITMP = DiscardMenuItem (Pascal, MBR_BADGE_MOTOR);

    ITMP = SetMenuBarAttribute (Pascal, MBR_BADGE_MOTOR, ATTR_DIMMED, TRUE);

    CVI 2012 SP1

    I forgot to say that you can use DiscardMenu to remove a menu from the menu bar.

Maybe you are looking for

  • NDSPCShowServer.DTV.bundle

    I get the message 'Allow the NDSPCShowServer.DTV.bundle to connect to the internet' whenever my macbook wakes from sleep or reboots.  How can I get this message to stop? Thank you!

  • Monitoring timer device as it stopped working and is causing closure Frequent downs.

    This problem leads me around the bend, I looked for a solution for 3 weeks without success, I tried the Manager of devices over 10 times and get messages cannot load the timer (code 10) and (code 31) is there a solution to this problem? Help, please!

  • Bottom of mic VX 3000 buzz

    I think that the title explains it all. I thought I had this problem but it turns to be others having the same problem. And now no. were that it does not work. Reply as soon as possible and thx :D

  • Media converter is not converting

    Try using Sansa Media Converter on a jpg image. I click on "Convert", and some activity seems to happen.  But when it's over, there is no converted image.  There is nothing.  Nothing in the designated destination folder and no change to the original

  • portable computer keyboard failure

    I have a Toshiba laptop with vista home premium 64 bit. I have no use my keyboard except at the connect, after which I have to use the keyboard to the screen through easy access. I ran virus scans, various programs to repair and nothing works. Any su