Dialog's size problem on Windows XPE

G

Guest

I have a program that shows a dialog window (that contains buttons) that
fills exactly a screen at a resolution 640 X 480.

When I'm running that program with Windows 2000 everything is fine.

But when I'm running the same program with Windows XP Embedded the dialog
becomes much bigger than what the screen is able to show at a resolution of
640 X 480. The dialog becomes so big that I'm loosing access to most of the
buttons of the dialog.

After some testing with the dialog ressources of the program, I realized
that the dialog size resumes to normal size when I remove the "Client edge"
extented size property on every dialog's controls. However that affect
slightly the look of the dialog's controls.

Is someone have an explanation for that strange behaviour?

Is there a way to show that dialog in Windows XP Embedded so it looks
exactly the same as with Windows 2000 without modifying the look of the
controls and the screen resolution?

Thanks!
 
M

Martin Grossen, eMVP [AVNET Silica]

Hi Jocelyn

This is the well known DPI96 issue...
I suggegst to download the font-tracker component
under www.xpefiles.com and include this component
into your image. It will bring you all fonts and
registry settings into your image like in XP Pro
or Win2000.
This is the easiest way.


--

Martin Grossen, eMVP

AVNET EMG Silica
Franchise Manager Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

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