CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: cilu

Search: Search took 0.21 seconds.

  1. Replies
    24
    Views
    20,592

    Re: Button border remove

    You can use GetWindowLong() and SetWindowLong().


    DWORD styles = ::GetWindowLong(hWnd, GWL_STYLE);
    styles &= ~WS_BORDER;
    ::SetWindowLong(hWnd, GWL_STYLE, styles);

    I'm not sure this is going...
  2. Replies
    24
    Views
    20,592

    Re: Button border remove

    You want to remove the border of the buttons on a dialog box? Or you want to remove the border of a dialog box? I'm a little bit confused here.

    Without owner draw, you could try to use the BS_FLAT...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured