共用方式為


NOTIFY_ID_HANDLER

 

Similar to NOTIFY_HANDLER, but maps a WM_NOTIFY message based only on the control identifier.

Syntax

      NOTIFY_ID_HANDLER( 
   id, 
   func  
)

Parameters

  • id
    [in] The identifier of the control sending the message.

  • func
    [in] The name of the message-handler function.

Requirements

Header: atlwin.h

See Also

Message Map Macros (ATL)
ATL Macros
NOTIFY_CODE_HANDLER
NOTIFY_RANGE_HANDLER
COMMAND_ID_HANDLER
MESSAGE_HANDLER