XPe and Visual C++ problem

  • Thread starter Thread starter Philipp Stampfl
  • Start date Start date
P

Philipp Stampfl

Hi all!

I have a now working XPe image (thanks to Bred, Linda, Jesse, JB) where I
try to run my Visual C++ app on.
This programm has a main window (dialogbox) and a number of parent windows
(pop dialogboxes). The main window is designed to be 640x480 and the popups
are a bit smaller. When I execute the programm from any other operating
system (i tried with W98, W2K, XPpro) everything works just fine. Only XPe
opens the main window in 640x480 but seems to zoom the parent windows, they
appear much much larger than programmed and than in XPpro. I have also
tested the program on the very same machine just in XPpro (identical config,
same drivers) and it works.

Is this a known problem under XPe??

Thanks for any tips!!

Phil
 
Philipp said:
Hi all!

I have a now working XPe image (thanks to Bred, Linda, Jesse, JB)
where I try to run my Visual C++ app on.
This programm has a main window (dialogbox) and a number of parent
windows (pop dialogboxes). The main window is designed to be 640x480
and the popups are a bit smaller. When I execute the programm from
any other operating system (i tried with W98, W2K, XPpro) everything
works just fine. Only XPe opens the main window in 640x480 but seems
to zoom the parent windows, they appear much much larger than
programmed and than in XPpro. I have also tested the program on the
very same machine just in XPpro (identical config, same drivers) and
it works.

Is this a known problem under XPe??

Thanks for any tips!!

Phil

Have you made sure you've included the correct fonts? You may be missing
sserif or sserife.
 
Yes this is known problem and it is probably related to missing fonts in
your build.
Or less likely DPI settings.

Analyze fonts that your application is using and add them to your build.

Regards,
Slobodan
 
Hi there!

I have added the standard MS Sans Serife font to the XPe and I still have
the same problem.
I then added a blank dialog in visual c (add dialog) with no content. When I
now execute this program under XPpro and XPe I have again different sizes of
the dialogboxes.

Any other tips?

Thanks,

phil
 
You need component:
Fonts: Fonts Microsoft_San_Serif
This is default font for new VC++ dialog.


MS Sans Serife is not a TTF and it is not used by default in MFC
applications.


Please let us know if this was a problem.

Regards,
Slobodan
 
Back
Top