Standard
DISPIDS
A number of
standard dispids have been defined for the 96 controls specification.
DISPID_MOUSEPOINTER
#define
DISPID_MOUSEPOINTER -521
Property of
type integer.
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
#define
DISPID_MOUSEICON -522
Property of
type Picture.
DISPID_PICTURE
#define
DISPID_PICTURE
-523
Property of
type picture.
DISPID_VALID
#define
DISPID_VALID
-524 // Is data in control
valid?
Property of
type BOOL.
Used to
determine if the control has valid data or not.
DISPID_ AMBIENT_PALETTE
#define
DISPID_AMBIENT_PALETTE -726 // Container's HPAL
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 wish to realize their own palettes must do so in the background.
If their is no ambient palette provided by the container then the active
control may realize its palette in the foreground. Palette handling is further
discussed in Palette Behaviour for OLE Controls which is in the ActiveX SDK.