Thanks Mattias,
Yes these functions seem to do everything i need. Quite a job to produce a
labview wrapper for them, will have a go some time. I will post the result
on this thread. Thanks again,
Tom.
> You are intressed in the "Menu" category and I would guess you need
> the following functions:
>
> CreatePopupMenu - Creates the menu
> AppendMenu - Adds item to the menu
> TrackPopupMenu - Popups the menu and waits for a menu item to be
> selected
> DestroyMenu - Destroys the menu
> EnableMenuItem - Controls if an item is enabled or disabled
>
> You might also need some functions to get the Window of the VI
> fronpanel (else you do not know where to popup the menu). These
> functions are found in the "Window" category.
>
> FindWindow - finds the Window p
ointer of a VI frontpanel
> ClientToScreen - some coordiate transformations
>
> The flags definitions and their numeric values are found in the
> "windows.h" file (search on the web).
>
> Hope this help. Unfortunatly I do not have any LabVIEW code examples,
> but this is the way to to it (in Windows anyway).
>
> Best regards,
>
> Mattias Ericsson
> Endevo
> Gothenburg, Sweden
> www.endevo.se