开发者

WM_COMMAND WM_NOTIFY custom notification code

I wish开发者_开发问答 to define a new nofication id that will be used in WM_COMMAND messages of my subclassed control. But I failed to find any rules of creating user control-defined notification codes.


See technical note 20, 21 and 22 on that:

  • TN020: ID Naming and Numbering Conventions

  • TN021: Command and Message Routing

  • TN022: Standard Commands Implementation

Short answer: pick a number in the range 0x8000 - 0xDFFF .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜