HighTechTalks DotNet Forums  

Resolution change API Windows CE 5.0

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Resolution change API Windows CE 5.0 in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
bartlomiej.szafraniec@gmail.com
 
Posts: n/a

Default Resolution change API Windows CE 5.0 - 11-28-2006 , 03:29 AM






Hi all,
Is there any API in Windows CE which lets change screen resolution
programaticly?
I've seen some application which does it on Qtek 9000 so that means
that must be
some solution for this problem. Unfortunately I don't have access to
the sources of
this application so I can't check how do they do this.
Maybe you can help me?
Thanks in advance.

Bartek


Reply With Quote
  #2  
Old   
Paul G. Tobey [eMVP]
 
Posts: n/a

Default Re: Resolution change API Windows CE 5.0 - 11-28-2006 , 11:02 AM






Resolution changes are up to the display driver and can't be done while the
device is running (you'd have to soft reset to accomplish it). I doubt,
however, that you're actually *ever* changing resolution on the device.
It's probably running at the highest resolution at all times and pixel
doubling for applications which aren't marked as WM5-aware. If you search
MSDN and the archives of this newsgroup for "orientation aware wm5 marking"
(or maybe "resolution aware", if you prefer), I think you find out how to
make your application use the higher resolution. MSDN online has a
step-by-step for this.

If you mean change whether the device is displaying landscape or portrait,
yes, there is an API that you can use to change that.
SystemSettings.ScreenOrientation.

Paul T.

<bartlomiej.szafraniec (AT) gmail (DOT) com> wrote

Quote:
Hi all,
Is there any API in Windows CE which lets change screen resolution
programaticly?
I've seen some application which does it on Qtek 9000 so that means
that must be
some solution for this problem. Unfortunately I don't have access to
the sources of
this application so I can't check how do they do this.
Maybe you can help me?
Thanks in advance.

Bartek




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.