Have you set up a dialog box or window handler function?
You would use WM_COMMAND in a test on the message type received in those functions. Once you know it's a command then you can use the other message parameters to determine what type of command produced by what control
Comment