LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I need a Mulitline Tool Tip

I want a tool tip that has maybe 2 or 4 lines.  In other words, I want to put a CR in my Tool Tip text.  How can I do this?
-Phil
0 Kudos
Message 1 of 2
(2,907 Views)

Hi Phil.

This works:
  SetCtrlToolTipAttribute (panelHandle, control, CTRL_TOOLTIP_ATTR_TEXT, "Line 1\nLine 2\nLine 3\nLine 4");

"\n" is replaced by the newline character (0x0A).

Colin

0 Kudos
Message 2 of 2
(2,893 Views)