Home  >  Article  >  Operation and Maintenance  >  Detailed introduction to commonly used messages

Detailed introduction to commonly used messages

巴扎黑
巴扎黑Original
2017-06-10 10:49:141758browse

1. Windows message distribution message range description 0 ~ WM_USER – 1 system message WM_USER ~ 0x7FFF custom window class integer message WM_APP ~ 0xBFFF application custom message 0xC000 ~ 0xFFFF application string message> 0xFFFF is for future system applications Reserved 2. Commonly used Windows messages Message name value description WM_NULL 0x0000 Null message, this message will be ignored by the receiving window WM_CREATE 0x0001 The application creates a window WM_DESTROY0x0002 A window is destroyed WM_MOVE0x0003 Moves a window WM_SIZE0x0005 Changes the size of a window WM_ACTIVATE0x0006 A window is activated Or lose the activation state WM_SETFOCUS0x0007 After gaining focus, WM_KILLFOCUS0x0008 loses focus WM_ENABLE0x000A should

1. Win32 SDK Basics (9) Summary of Windows Common Messages

Detailed introduction to commonly used messages

Introduction: 1. Windows message distribution message range description 0 ~ WM_USER – 1 system message WM_USER ~ 0x7FFF custom window class integer message WM_APP ~ 0xBFFF application Program custom message 0xC000 ~

[Related Q&A recommendations]:

The above is the detailed content of Detailed introduction to commonly used messages. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn