Standard DISPIDS

A number of standard dispids have been defined for the controls specification.

DISPID_MOUSEPOINTER

Property of type integer.

#define DISPID_MOUSEPOINTER            -521

The Mousepointer property identifies standard mouse icons.

Value Description
0
(Default) Shape determined by the object.
1
Arrow
2
Cross (cross-hair pointer)
3
I Beam
4
Icon (small square within a square)
5
Size (four-pointed arrow pointing north, south, east, and west)
6
Size NE SW (double arrow pointing northeast and southwest)
7
Size N S (double arrow pointing north and south)
8
Size NW, SE
9
Size E W (double arrow pointing east and west)
10
Up Arrow
11
Hourglass (wait)
12
No Drop
13
Arrow and hourglass
14
Arrow and question mark
15
Size all
99
Custom icon specified by the MouseIcon property

DISPID_MOUSEICON

Property of type picture.

#define DISPID_MOUSEICON               -522

DISPID_PICTURE

Property of type picture.

#define DISPID_PICTURE                 -523

DISPID_VALID

Used to determine if the control has valid data or not.

Property of type BOOL.

#define DISPID_VALID                   -524

DISPID_ AMBIENT_PALETTE

Used to allow the control to get the container's HPAL. If the container supplies an ambient palette then that is the only palette that may be realized into the foreground. Controls that want to realize their own palettes must do so in the background. If there is no ambient palette provided by the container, then the active control can realize its palette in the foreground. Palette handling is further discussed in Palette Behavior for OLE Controls which is in the ActiveX SDK.

#define DISPID_AMBIENT_PALETTE         -726