title: How to write one message handler for multiple buttons in MFC?
body: <p>I have some buttons and I want to write one message handler for all of them. Is there any way to find out which button is clicked? In C#, there was a parameter (sender), does MFC have something like that? Or do I have to write the same message handler for all of the buttons individually?</p>