PRB: The Mouse Pointer Cannot Be Changed in a SnapIn Project

ID: Q242231


The information in this article applies to:
  • Microsoft Management Console, versions 1.1, 1.2
  • Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0


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.


REFERENCES

Q242229 Create an OCX View with the MMC Snap-In Designer for Visual Basic

Additional query words: snapin designer mmc

Keywords : kbMMC kbVBp600 kbGrpPlatform kbMMC110 kbDSupport kbMMC120 kbSnapIn
Version : WINDOWS:1.1,1.2,6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.