LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI crashes

If I edit a Tree-Control with a Picture column and click on a picture in the "Edit Tree" Window, CVI crasheds immediately. See the attached picture.
0 Kudos
Message 1 of 5
(3,665 Views)
I was able to reproduce the crash, and it will be fixed in the next release.

This will also crash in a program if you haven't programmatically disabled ATTR_DISABLE_TOOLTIPS for the tree.

Thanks for reporting this bug.

- jared
0 Kudos
Message 2 of 5
(3,604 Views)

Jared --

Is there a way to globally turn off tooltips, or do I need to do it one at a time?

Related question : it looks like ATTR_DISABLE_TOOLTIPS works only for list controls. Does CTRL_TOOLTIP_ATTR_ENABLE (used with SetCtrlToolTipAttribute) work with any control?

Kevin

 

0 Kudos
Message 3 of 5
(3,406 Views)
I assume you want to turn off tooltips for all tree controls in your application. In order to do this, you have to programmatically turn off the tooltips by calling SetCtrlAttribute (panel, tree, ATTR_DISABLE_TOOLTIPS, 1) on each tree control.
 
By the way, the original crash that my suggestion to turn off tooltips was meant to workaround, has been fixed in version 7.1. So there shouldn't be a need to turn off the tooltips to avoid a crash.
 
ATTR_DISABLE_TOOLTIPS only works for tree controls and determines whether a tooltip is displayed when the mouse hovers over text in a tree that doesn't have enough room to completely display the text. A tooltip appears to display all the text of the tree item or cell.
 
SetCtrlToolTipAttribute and CTRL_TOOLTIP_ATTR_ENABLE  are part of the Programmer's Toolbox, and can be applied to any control. This kind of control tooltip, if enabled, displays whatever text you assigned the control tooltip with CTRL_TOOLTIP_ATTR_TEXT whenever the mouse hovers over the control.
 
Hope this helps,
 
- jared
0 Kudos
Message 4 of 5
(3,374 Views)
Thanks -- and now the question I forgot to ask :  is there a way to enable/disable all tootips on a panel? Or for the whole application?  (rather than doing it one at a time; it's very easy to miss one)
 
Kevin
 
0 Kudos
Message 5 of 5
(3,368 Views)