Setting screen resolution using the "Default Monitor" component

M

Martin Dowie

If I build my app using an explorer shell I get a nice "bubble" after the FBA
telling me I can setting a higher resolution. Or I can ignore this an
right-mouse click on the explorer shell screen.

If I build my app using a task manager shell or as a custom shell I
certainly don't get the "bubble" and I can't find a way to run the "Display
Control Panel" component I have.

Are there some settings I can use in Target Designer to select a higher
resolution as part of the image? 1024x768 is what I need.

TIA!

Martin
 
M

Martin Dowie

Thanks KM, unfortunately the "Default Monitor" doesn't seem to have a
settings page.

I've got something working by adding the following "Extra Registry Data"
entries to the .slx

Create Key HKCC\System\CurrentControlSet\SERVICES
Create Key HKCC\System\CurrentControlSet\SERVICES\VGASAVE
Create Key HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\Attach.ToDesktop 1
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.BitsPerPel 32
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.XResolution 1024
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.YResolution 768
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.VRefresh 1
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.Flags 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.XPanning 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.YPanning 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.Orientation 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\DefaultSettings.FixedOutput 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\Attach.RelativeX 0
Set
Value HKCC\System\CurrentControlSet\SERVICES\VGASAVE\DEVICE0\Attach.RelativeY 0

Not pretty but seems to work and sets the display to XGA (1024x768) from FBA
on!

The reason I'm using the Default Monitor is because I can't get the device
drivers for the Intel 945GM Express chipset to install successfully with our
WinXP Embedded image. If anyone has a .sld for this chipset I'd be delighted
to hear from them!!!

Cheers
-- Martin
 
K

KM

Martin,

That shouldn't be the "Default Monitor" component you have to change the setting for. It should be a display driver component.
If you don't have the display driver componentized and included in TD, you can add "Device: Display" primitive component and tweak
this component settings page.

For some componentized driver please check www.xpefiles.com.
 
R

Richard M

Hello KM

Works for me! Thanks.

RM

KM said:
Martin,

That shouldn't be the "Default Monitor" component you have to change the setting for. It should be a display driver component.
If you don't have the display driver componentized and included in TD, you can add "Device: Display" primitive component and tweak
this component settings page.

For some componentized driver please check www.xpefiles.com.
 
R

Richard M

Humble pie. Didn't work. (Mental note - test all supposed solutions before
replying.)

Even rebooting after FBA, it's still the crud 640x480.

I have an Intel D201GLY board. After FBA, when I try to install the drivers
from CD, the "Intel Express Installer" "does not support your operating
system".

After bypassing that and going to the driver install it states "Current
system is not an Intel board".

Could have fooled me!
 
M

Martin Dowie

Sorry, I'm being really thick here (1st XPe project...) but I can't see
"Device: Display" (or anything like it) listed in my 10400+ components (I've
installed the XPe tools + SP2 + FeaturePack2007).

Is there an easy way to filter for primitives? I can't find one...

Anyway, I download the component from xpefiles.com and that worked as well -
although it has added 18MBytes to the image! :-O

Cheers
-- Martin
 
R

Richard M

Got it.

Added the Device: Display to TD. Went into the Control panel after FBA,
adjusted the resolution, but had to hit the ADVANCED BUTTON. Until that, it
ignored the setting.

Of course the best solution is to add drivers at an earlier stage, which is
tomorrow's challenge.
 

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