In one of the dialogs of my program I want to implement a button that keeps being in pressed state until I press it again. I know how to set the "pressed state" but when the button loses the focus it is not pressed anymore, why ? What can I do to change this. By the way, I used CButton::SetState(). Please help.