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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 .