Click to See Complete Forum and Search --> : Remote Desktop Connection post a different display


Nlyre
July 22nd, 2005, 04:00 AM
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)