Hi GURUs,

Do you know how to create DC with specific resolution? Normally, I created DC by calling CDC::CreateCompatibleDC(NULL);. This will create the DC with the screen resolution (96dpi). If you call CDC::GetDeviceCaps(LOGPIXELSX);, you will see that the return value is 96.

So, I am just wondering, how to create a DC with specific resolution such as 200x200 or 120x103, etc...? If this is not possible, how to set the temporary resolution of the DC at runtime?

Thanks for any help in advance...

Cheers