Vista and GDI's SetPixel

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 :)
 
U

Uwe Sieber

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top