PRB: Paint Problems with Drag and Drop of TreeView Items (248250)
The information in this article applies to:
- Microsoft Windows 98, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q248250 SYMPTOMS
When dragging a TreeView item, if the ToolTips for underlying items are displayed during the drag operation, paint problems may occur because the remnants of
the old ToolTips may not be completely erased. These remnants are visible in the vertical scroll bar (if present) and over the underlying windows.
CAUSE
During a drag operation, the SetCapture function is used to direct mouse input to the window involved in the drag operation. This conflicts with the
ToolTip control's operation, inhibiting the ToolTip's ability to erase itself.
RESOLUTION
To prevent ToolTip artifacts during a drag-and-drop operation, you must de-activate the ToolTip control that is associated with the TreeView control during
the drag operation, and then re-activate it after the drag operation is done or cancelled.
STATUS
This behavior is by design.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
162159 SAMPLE:TREESCRL Scrolls in a Tree Control During Drag-and-Drop
| Modification Type: | Minor | Last Reviewed: | 12/20/2004 |
|---|
| Keywords: | kbprb kbTreeView KB248250 |
|---|
|