BUG: TreeView ToolTips Do Not Appear on Windows NTLast reviewed: September 18, 1997Article ID: Q173943 |
The information in this article applies to:
SYMPTOMSThe ToolTip for a TreeView node does not appear as expected when the node text exceeds the width of the TreeView control. This problem occurs with Windows NT and COMCTL32.OCX version 5.00.3714.
RESOLUTIONTo work around this problem, you may use the MouseMove event of the TreeView control to set the ToolTipText of the TreeView control so that it matches the text of the node:
Private Sub TreeView1_MouseMove(Button As Integer, Shift As Integer, _ x As Single, y As Single) Dim n As Node Set n = TreeView1.HitTest(x, y) If Not (n Is Nothing) Then TreeView1.ToolTipText = n.Text Else TreeView1.ToolTipText = "" End If End SubYou may want to implement this workaround only for users running Windows NT. For information about determining which operating system is in use, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q137032 TITLE : HOWTO: Determine Which 32-bit Operating System Is Being Used STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : vb5all VBKBAX VBKBComp Version : WINDOWS:5.0 Platform : NT WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |