LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

taskbar icon menu separator

Is there a (simple) way to add horizontal separator bars to the menu for a taskbar icon menu?
 
I'm coming up with nuttin' to do that in CVI 8.  Perhaps it's not so hard to do with the windows SDK?
 
Thanks
-shrew
0 Kudos
Message 1 of 6
(4,348 Views)

Hi Shrew,

Would you please provide a sample picture of what you are desiring?  For example, the below screenshot seems to be typical Windows behavior and does not have horizontal lines of separation between the Internet Explorer stacked taskbar entries.  Are you wanting to add them anyway?

Message Edited by AEDavid on 01-11-2007 04:44 PM

Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 2 of 6
(4,319 Views)
Howdy AEDavid,
It is not the taskbar icons for programs that I'm working on, it is the system tray icon menuu that I am creating in the notification area of the taskbar.  I know how to build a system tray menu, I just want to insert separators.  If you take a look at the Outlook icon down there, it does have some separator bars.  I would like to implement these for a menu which will have several items that I would like to group together by using the separators.
 
 
-shrew

Message Edited by pshrew on 01-12-2007 08:34 AM

Message Edited by pshrew on 01-12-2007 08:35 AM

0 Kudos
Message 3 of 6
(4,292 Views)

Hi Shrew,

Thank you for the clarification.  Actually, I am finding an example for 8.01 (and 8.1) that has this functionality.  Below is the picture that I think captures what you want.  The example program is in Help >> Find Examples >> Building User Interfaces >> Menus and Toolbars >> trayicon.prj.  The line of code to insert the blank line is:      InsertTrayIconMenuItem (trayIconHandle, 0, &menuItemIndex);    There is more detail in the help for InsertTrayIconMenuItem.

Message Edited by AEDavid on 01-15-2007 03:41 PM

Cheers,

David Goldberg
National Instruments
Software R&D
Message 4 of 6
(4,245 Views)
Hey David,
Thats it!  Thanks a lot.  I just went to the command pop-up menu for that function and it was right there under my nose the whole time - DUH!
Thanks a lot, man!
 
-shrew
 

Message Edited by pshrew on 01-15-2007 08:29 PM

Message Edited by pshrew on 01-15-2007 08:29 PM

0 Kudos
Message 5 of 6
(4,237 Views)

Hi Shrew,

My pleasure.  Best of luck with your application!

Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 6 of 6
(4,210 Views)