Maybe you should use a check button. Or search t hese links for something similar to what you are looking for. codeproject.com has a wealth of MFC and other code.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Class CButton's create method takes button style argument - MSDN Reference
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
This is something similar to what you want -- not exactly but in the ballpark. The button image changes when you hover the mouse over it, so you should be able to change the behavior to make the image stay in place after clicking it.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343