Hi,

I have added support for two display modes in display driver (VGAFlat)
for emulator in WinCE5.0. My intention was to change the display mode
from smaller resolution to higer resolution dynamically (with out
restart).

I have tried with ChangeDisplaySettingsEx but it returned 0 (fail).

Can any one throw some light on this? Is there any way I can change the
Display mode in the Emulator dynamically.

Thanks in advance.
SriV

RE: Multiple display modes in WinCE by Rob

Rob
Fri Nov 24 08:15:01 CST 2006

Hi,
Assuming the settings are read from registry (CxScreen/CyScreen)
and the driver refuses to change resolution dynamically:
you might try to unload the driver using Deactivatedevice, set the registry,
and restart the driver using ActivateDeviceEx.

Haven't tried it myself but it might work....

Greetings,
Rob.


"sriv.godavari@gmail.com" wrote:

> Hi,
>
> I have added support for two display modes in display driver (VGAFlat)
> for emulator in WinCE5.0. My intention was to change the display mode
> from smaller resolution to higer resolution dynamically (with out
> restart).
>
> I have tried with ChangeDisplaySettingsEx but it returned 0 (fail).
>
> Can any one throw some light on this? Is there any way I can change the
> Display mode in the Emulator dynamically.
>
> Thanks in advance.
> SriV
>
>

Re: Multiple display modes in WinCE by Steve

Steve
Sun Nov 26 13:40:19 CST 2006

>My intention was to change the display mode
>from smaller resolution to higer resolution dynamically (with out
>restart).
The GWE system itself does not support that, so it won't work even if your
driver does support it.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Multiple display modes in WinCE by SriV

SriV
Wed Nov 29 01:11:04 CST 2006

Hi Rob,
I guess it is not possible to use Deactivatedevice for display driver
as it will be loaded by GWES.

By the way, I shouldn't restart the device while swicthing the drivers.

Please clarify me.

Thanks
SriV

Rob wrote:
> Hi,
> Assuming the settings are read from registry (CxScreen/CyScreen)
> and the driver refuses to change resolution dynamically:
> you might try to unload the driver using Deactivatedevice, set the registry,
> and restart the driver using ActivateDeviceEx.
>
> Haven't tried it myself but it might work....
>
> Greetings,
> Rob.
>
>
> "sriv.godavari@gmail.com" wrote:
>
> > Hi,
> >
> > I have added support for two display modes in display driver (VGAFlat)
> > for emulator in WinCE5.0. My intention was to change the display mode
> > from smaller resolution to higer resolution dynamically (with out
> > restart).
> >
> > I have tried with ChangeDisplaySettingsEx but it returned 0 (fail).
> >
> > Can any one throw some light on this? Is there any way I can change the
> > Display mode in the Emulator dynamically.
> >
> > Thanks in advance.
> > SriV
> >
> >


Re: Multiple display modes in WinCE by SriV

SriV
Thu Nov 30 02:46:30 CST 2006

Hi Steve,

Is there any way to bluff the GWE to support for multiple display
drivers.
Like writng a router display dll using which we can inter call either
if the display driver functions.

Any suggestion from u on this is greatful to me.

Thanks
SriV

Steve Maillet (eMVP) wrote:
> >My intention was to change the display mode
> >from smaller resolution to higer resolution dynamically (with out
> >restart).
> The GWE system itself does not support that, so it won't work even if your
> driver does support it.
>
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com


Re: Multiple display modes in WinCE by Steve

Steve
Fri Dec 01 11:49:59 CST 2006

>Is there any way to bluff the GWE to support for multiple display
>drivers.
Not to get dynamic resolution changes, no, GWE reads the mode information
and caches that info and adjusts it's internal operations accordingly. It is
important to keep in mind the system DOES support multiple monitors. It just
doesn't support changing the resolutions on the fly. That would require
re-working in GWES as well as every application would need to be notified as
any cached device dependent bitmaps could be invalid.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com