LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

popup menu and icons

Hi,
I'd like to build a popup menu with icons inside (see the attached example image). Does someone know a way to obtain it ?

Thank you !
0 Kudos
Message 1 of 5
(3,439 Views)
You can easily use the Windows SDK MessageBox function to display a dialog box with various icons like an exclamation mark, a question mark, etc.
Include windows.h at the top of your .c file.
...
MessageBox(NULL,"Message","Title",MB_ICONQUESTION);
...
I didn't see any attachment to your post.
See the attached example for more uses of MessageBox.
0 Kudos
Message 2 of 5
(3,433 Views)
My post didn't show an attachment either. Here's a second attempt to attach my project. It may have been deleted after I got an error posting my first response.
0 Kudos
Message 3 of 5
(3,430 Views)
I'd like to create a menu with different icons and not a window. Now I try to re-post the example image
0 Kudos
Message 4 of 5
(3,428 Views)
Hi Massimiliano,

I am not sure if this is going to answer your question, but try and have a look at this document. Seem sto be pretty close to what you need to do...

http://digital.ni.com/public.nsf/websearch/D6CB66DE5819897F86256C320041A77D?OpenDocument

Regards,

AlessioD
National Instruments
0 Kudos
Message 5 of 5
(3,403 Views)