Use this macro to map a contiguous range of control IDs to a single message handler function for a specified Windows notification message, such as BN_CLICKED.
The range of IDs starts with id1 and ends with id2. The handler is called for the specified notification coming from any of the mapped controls.
There is no automatic support for message map ranges, so you must place the macro yourself.
For more information on implementing handler functions for a range of control IDs, refer to Handlers for Message-Map Ranges.