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

    Question Remote Desktop Connection post a different display

    Attached is a simple VC6++ Project (Test.zip) that draws a circle. The code I've added on top of what the wizard provide is purely in
    void CTestView::OnDraw(CDC* pDC)

    When viewed under local machine, it's okay (ie the green brush background filled the circle boundary correctly). However, when viewed using Remote Desktop Connection (from another PC), the green brush background color overfilled beyond the boundary. (The image is attached in image.JPG)

    The problem disappear if either we
    - Draw a bigger circle
    - Draw a rectangle instead
    - Replace " PS_ENDCAP_SQUARE | PS_JOIN_MITER " with " PS_ENDCAP_FLAT | PS_JOIN_ROUND"
    - Use PS_COSMETIC instead of PS_GEOMETRIC (and width has to 1 of cause)

    It looks to me its a microsoft issue to me. But can anyone confirm? or did I miss anything? Thanks.

    (Btw, the problem don't happens when using VNCViewer)
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Nlyre; July 22nd, 2005 at 04:18 AM.

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