Screen resolution mess after converting to VS2005

  • Thread starter Thread starter Ole
  • Start date Start date
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
 
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
 
Back
Top