ON_UPDATE_COMMAND_UI_RANGE

ON_UPDATE_COMMAND_UI_RANGE( id1, id2, memberFxn )

Parameters

id1

Command ID at the beginning of a contiguous range of command IDs.

id2

Command ID at the end of a contiguous range of command IDs.

memberFxn

The name of the update message-handler function to which the commands are mapped.

Remarks

Use this macro to map a contiguous range of command IDs to a single update message handler function. Update message handlers update the state of menu items and toolbar buttons associated with the command. The range of IDs starts with id1 and ends with id2.

ClassWizard does not support message map ranges, so you must place the macro yourself. Be sure to put it outside the message map //{{AFX_MSG_MAP delimiters.

See Also   ON_COMMAND_RANGE, ON_CONTROL_RANGE