krba
July 31st, 1999, 01:24 AM
I don't want this inside rectangle in button when it is attached. Does exist some simple way to remove it?
|
Click to See Complete Forum and Search --> : Cosmetics krba July 31st, 1999, 01:24 AM I don't want this inside rectangle in button when it is attached. Does exist some simple way to remove it? jteagle@home July 31st, 1999, 08:52 AM I'm afraid it is not clear what you mean. Do you mean the dotted line, the focus rectangle, which appears when you <TAB> to the control? The only way round this is to derive your own CButton class and control painting yourself, or to simply call SetFocus() on another control when you get the WM_SETFOCUS message - as long as you don't mind the user never being able to <TAB> to the control (they can still click it with the mouse, though, I think). codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |