大网数据广告活动
Windows 系统接口

Standard DISPIDS

· 52CE 我爱测

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

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。