CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Sweden
    Posts
    30

    Painting a window

    Hello,

    I got a small problem, any help would be good
    How do I repaint/redraw the OUTERLINE in a DialogBar, i.e. the borderline, I just want to change the color of the leftmost borderline and not the topline, bottomline or rightline

    -- Henrik


  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Painting a window

    I would guess that this is in the NCPAINT or non-client drawing area.
    There are samples on this site that illustrate how to do non-client are painting.
    One is about drawing a gradient-shaded caption bar and might be helpful for this.



  3. #3
    Join Date
    Apr 1999
    Posts
    16

    Re: Painting a window

    try
    GetWindowDC()


    WBR Oak

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