PRB: The Mouse Pointer Cannot Be Changed in a SnapIn Project (242231)
The information in this article applies to:
- Microsoft Management Console 1.1
- Microsoft Management Console 1.2
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q242231 SYMPTOMS
When developing a SnapIn project using the Microsoft Management Console (MMC) Snap-In Designer for Visual Basic, the ability to change the mouse pointer (cursor) is not provided.
CAUSE
The MMC specification does not allow a snap-in to change the mouse cursor because no single snap-in can control the MMC container.
RESOLUTION
An OCX View does allow a mouse pointer to be changed from within the MMC container. A UserControl container object exposes a MousePointer property that will allow the mouse pointer to be changed when the pointer is positioned over the OCX View. The following sample code shows how to use the property:
UserControl.MousePointer = vbHourglass
STATUS
This behavior is by design.
REFERENCES242229 Create an OCX View with the MMC Snap-In Designer for Visual Basic
Modification Type: | Minor | Last Reviewed: | 3/20/2004 |
---|
Keywords: | kbDSWManage2003Swept kbprb kbSnapIn KB242231 |
---|
|