Vista and GDI's SetPixel

  • Thread starter Thread starter MueMeister
  • Start date Start date
M

MueMeister

Hi out there,

my question is on graphical issues using SetPixel() API. I recognized
that painting with SetPixel seems to be different in Vista since it doas
not function correctly.

I got code working on XP which draws a button manually. In Vista all
buttons are cut off at the right side. It is only possible to draw 80%
of the button, the rest it looks like painting out of a CRgn I have
never set on the context device.

Does anybody experienced the same or has any idea concerning this problem?

TIA
Mue :-)
 
MueMeister said:
Hi out there,

my question is on graphical issues using SetPixel() API. I recognized
that painting with SetPixel seems to be different in Vista since it doas
not function correctly.

I got code working on XP which draws a button manually. In Vista all
buttons are cut off at the right side. It is only possible to draw 80%
of the button, the rest it looks like painting out of a CRgn I have
never set on the context device.

Does anybody experienced the same or has any idea concerning this problem?

Maybe this is related, even none of the listed effects fits to
your problem:
http://msdn2.microsoft.com/en-us/library/aa480152.aspx#appcomp_topic20

Uwe
 
Back
Top