How can I make a button stay down until clicked again?
I saw:
BS_PUSHLIKE Makes a button (such as a check box, three-state check box, or radio button) look and act like a push button. The button looks raised when it isn't pushed or checked, and sunken when it is pushed or checked.
As a button style, so I did a:
in the WM_INITDIALOG. However, nothing happened. (The button is still a normal button!)Code:SendDlgItemMessage(hwndDlg, IDB_GP_GAME, BM_SETSTYLE, (WPARAM) LOWORD(BS_PUSHLIKE), MAKELPARAM(1, 0));
Can anyone give me a bit of help as what to do?
Thanks!