BUG: TreeView Node Tooltips Flash When Displayed from Modal Window (240924)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q240924 SYMPTOMS
When the Microsoft TreeView control has been added to a Visual Basic form, and the user places the mouse cursor over a node where the text is longer than the control's width, a tooltip should appear over that text. If the form is being displayed modally, however, the tooltip will "flash" on and off repeatedly. This behavior occurs only in the compiled version of the application and not in the Visual Basic design environment (IDE.)
This problem occurs with the TreeView control from both the Comctl32.ocx and Mscomctl.ocx on all Windows platforms.
CAUSE
This behavior is a result of the TreeView's owned tooltip window becoming disabled when the TreeView's top level client window is shown modally.
RESOLUTION
The tooltip window must be re-enabled before shown, and after the
TreeView's top level owner window is fully loaded.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information regarding treeview tooltip issues, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
241097 PRB: TreeView Tooltips Window Does Not Appear on Windows NT
241102 BUG: TreeView Nodes Tooltips Fail to Appear on Usercontrol
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbAPI kbBug kbCmnCtrls kbpending kbToolTip kbTreeView KB240924 |
---|
|