Windows Commands

Does anyone know how to access the WM_ENTERSIZEMOVE and the WM_EXITSIZEMOVE
messages in MFC?

Easy, create a message map for the message you want to handle. See the ON_MESSAGE macro.