LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

toolbar tool tips

Solved!
Go to solution

Does anybody know how to turn on the tool tips (the one-line notes that appear when you put the mouse cursor over a button or toolbar item) for the toolbar in a program that I've written? I can load the toolbar fine, but there doesn't seem to be any way to turn the tips on.

0 Kudos
Message 1 of 3
(2,961 Views)
I don't know about toolbar tips, but it reminded me of another bug I haven't
reported to NI: tooltips are still buggy in CVI 2010 on Linux: they open a
small window _under_ the current panel. And the window if of a wrong type
(with too many decorations).

Sorry I didn't answer your question.
--
Guillaume Dargaud
http://www.gdargaud.net/
0 Kudos
Message 2 of 3
(2,945 Views)
Solution
Accepted by topic author pblase

Toolbar tooltips are specified by the Description parameter of the Toolbar_InsertItem function or the TOOLBAR_ATTR_DESCRIPTION attribute. Setting the TOOLBAR_ATTR_DESCRIPTION to NULL disables the tooltip. A good example of toolbar tooltips can be found in the C:\Users\Public\Documents\National Instruments\CVI2010\samples\userint\custctrl\toolbar\tooldemo.cws example.

 

Guillaume, could you describe your problem in a little more detail or provide an example?

National Instruments
Message 3 of 3
(2,933 Views)