Screen resolution mess after converting to VS2005

O

Ole

Hi,

I have upgraded an old VS2003 /CF1.0 application to VS2005 / CF2.0, but now
my application is totally messed up cause of a higher screen resolution on
the developer Pocket PC that I'm using. If I run the old VS2003 application
directly without recompiling, there is no problem. In VS2003 it was possible
to disable the screen resolution emulation layer if one would like to take
advantage of the higher resolution by using this:
HI_RES_AWARE CEUX {1}
So is there a corrosponding way to keep the "normal screen resolution" in
VS2005 if one doesn't need the higher resolution??

Thanks
Ole
 
O

Ole

Thanks Chris,

All standard control works well if I set the autoscale mode to DPI of the
form, but the custom controls are still a mess. I've seen that it should be
possible to remove the Win32 resource so that the entire exe is dpi
independend but I don't know how to do that, so if anyone knows I would be
very happy to learn about it.

Thanks
Ole
 

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