李逸朗同林子萱:Windows消息前缀

来源:百度文库 编辑:中财网 时间:2024/05/05 11:37:24

Windows消息前缀

分类: Delphi 2008-10-02 17:07 126人阅读 评论(0) 收藏 举报

Windows消息类型

Windows操作系统定义了系统消息的类型,它通过诸如WM_PAINT之类的符号常量发送给你的应用程序。该符号常量由两部分组成,如上例的WM前缀,它标识能处理消息的窗口类型;剩下的PAINT指定当消息接收后该窗口应该做什么。

 

消息前缀

对象窗口类型

ABM

Application desktop toolbar control

BM

Button control

CB

Combo box control

CBEM

Extended combo box control

CDM

Common dialog box control

DBT

Device

DL

Drag list box control

DM

Default push button control

DTM

Date and time picker control

EM

Edit control

HDM

Header control

HKM

Hot key control

IPM

IP address control

LB

List box control

LVM

List view control

MCM

Month calendar control

PBM

Progress bar control

PGM

Pager control

PSM

Property sheet

RB

Rebar control

SB

Status bar control

SBM

Scroll bar control

STM

Static control

TB

Toolbar

TBM

Trackbar

TCM

Tab control

TTM

Tooltip control

TVM

Tree view control

UDM

Up-down control

WM

General window