CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    [RESOLVED] How can Dark Rectangle sides?

    Hi all,

    i m draw a rectangle with this.

    <pre>
    CRect rectrect;
    CDC* pDC;
    pDC->Rectangle(rectrect.left,rectrect.top,rectrect.right,rectrect.bottom);
    </pre>

    here the sides of rectangle appears very light ,i want to make it dark.

    please tell me how can i do this.

    thanks in advance.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  2. #2
    Join Date
    Sep 2008
    Posts
    11

    Re: How can Dark Rectangle sides?

    use FillRect to draw rectangular border...

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