CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Cosmetics

  1. #1
    Join Date
    Jul 1999
    Location
    Zagreb, Croatia
    Posts
    63

    Cosmetics

    I don't want this inside rectangle in button when it is attached. Does exist some simple way to remove it?


  2. #2
    Join Date
    Apr 1999
    Posts
    68

    Re: Cosmetics

    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).


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured