Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Indicates which function will handle a custom-control notification message.
ON_CONTROL(wNotifyCode, id, memberFxn )
Parameters
wNotifyCode
The notification code of the control.id
The command ID.memberFxn
The name of the message-handler function to which the command is mapped.
Remarks
Control notification messages are those sent from a control to its parent window.
There should be exactly one ON_CONTROL macro statement in your message map for every control notification message that must be mapped to a message-handler function.
For more information and examples, see Message Handling and Mapping Topics.
Requirements
Header: afxmsg_.h