How to give "Pressed" look to static control
-
Hi, I have a static control derived from CStatic class. When user clicks on it I want that the static control should look like as it is pressed. The control is not a button, so I cannot do this directly. How can I achive this? Regards, Hemant
-
Hi, I have a static control derived from CStatic class. When user clicks on it I want that the static control should look like as it is pressed. The control is not a button, so I cannot do this directly. How can I achive this? Regards, Hemant
Set a recessed border and change the background color to a shade darker?
onwards and upwards...
-
Hi, I have a static control derived from CStatic class. When user clicks on it I want that the static control should look like as it is pressed. The control is not a button, so I cannot do this directly. How can I achive this? Regards, Hemant
if you derived CStatic you can use of WM_MOUSE* and WM_PAINT for change color when user click on that static.
WhiteSky