PC Review


Reply
Thread Tools Rate Thread

Help needed! Application window size changes when porting application from XP to EXP

 
 
Avi Rot
Guest
Posts: n/a
 
      28th Oct 2004
Hi! all
I'm trying to build a Embedded XP system .
On the XP system my application works good, but when I move to the EXP,
and run my application on it, the application window size exceeds the screen
limits,
and makes it impossible to work. other applications and icon sizes seem to
be the same in both systems.
On both XP and EXP I use a screen resolution of 1024*768.
Setting a higher screen resolution lowers the color quality, and results in
poor graphics in my application.
My application is a dialog based one (where changing the screen size is not
possible).
I'm using a S3 Graphics Twister display adaptor.
I will appriciate any thoghts or ideas how to solve this problem.
Thanks.








 
Reply With Quote
 
 
 
 
Dave August
Guest
Posts: n/a
 
      28th Oct 2004
Avi,

Dialog sizes (in general) are based on the font size that the application
uses.
If you are not specifying a font size in your dialog template, it's using
the default system font.
You might try setting the font and size in your template.

FWIW I have no idea why XPe would be using a larger font but it sounds like
your system is using "Large Fonts". This may be a side effect of how you set
you set 1024x768

Dave

"Avi Rot" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi! all
> I'm trying to build a Embedded XP system .
> On the XP system my application works good, but when I move to the EXP,
> and run my application on it, the application window size exceeds the
> screen
> limits,
> and makes it impossible to work. other applications and icon sizes seem to
> be the same in both systems.
> On both XP and EXP I use a screen resolution of 1024*768.
> Setting a higher screen resolution lowers the color quality, and results
> in
> poor graphics in my application.
> My application is a dialog based one (where changing the screen size is
> not
> possible).
> I'm using a S3 Graphics Twister display adaptor.
> I will appriciate any thoghts or ideas how to solve this problem.
> Thanks.
>
>
>
>
>
>
>
>



 
Reply With Quote
 
 
 
 
Dave August
Guest
Posts: n/a
 
      28th Oct 2004
Avi,

I just now got my App (which is dialog bassed) running (like 2 minutes ago)
on XPe and am also having many strange problems realted to font sizes. The
main dialog is comming out WAY to big and all the font sizes in other
dialogs it spans are comming out WAY to small... I'm SURE this is realted
to the fonts the dialogs are using. I'll debug more and let youknow what I
find... FYI my app is built NON-UNICODE.

FWIW I am having some strange font issues in the Command Shell... A simple
example, I run ipconfig to see what up with the net... Most of the output is
OK but ALL the days and dates are in unreadable characters.... Like wise the
characters for PM in a dir listing are wrong..

More later

(And no Andy I haven't googled this yet.. I have to go FLYING for a few
hours.. :-) )

Dave August




"Avi Rot" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi! all
> I'm trying to build a Embedded XP system .
> On the XP system my application works good, but when I move to the EXP,
> and run my application on it, the application window size exceeds the
> screen
> limits,
> and makes it impossible to work. other applications and icon sizes seem to
> be the same in both systems.
> On both XP and EXP I use a screen resolution of 1024*768.
> Setting a higher screen resolution lowers the color quality, and results
> in
> poor graphics in my application.
> My application is a dialog based one (where changing the screen size is
> not
> possible).
> I'm using a S3 Graphics Twister display adaptor.
> I will appriciate any thoghts or ideas how to solve this problem.
> Thanks.
>
>
>
>
>
>
>
>



 
Reply With Quote
 
Slobodan Brcin \(eMVP\)
Guest
Posts: n/a
 
      28th Oct 2004
Hi Dave,

And after googling you will find that this is missing font issue that was and is very hot, from time to time

Regards,
Slobodan

"Dave August" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Avi,
>
> I just now got my App (which is dialog bassed) running (like 2 minutes ago)
> on XPe and am also having many strange problems realted to font sizes. The
> main dialog is comming out WAY to big and all the font sizes in other
> dialogs it spans are comming out WAY to small... I'm SURE this is realted
> to the fonts the dialogs are using. I'll debug more and let youknow what I
> find... FYI my app is built NON-UNICODE.
>
> FWIW I am having some strange font issues in the Command Shell... A simple
> example, I run ipconfig to see what up with the net... Most of the output is
> OK but ALL the days and dates are in unreadable characters.... Like wise the
> characters for PM in a dir listing are wrong..
>
> More later
>
> (And no Andy I haven't googled this yet.. I have to go FLYING for a few
> hours.. :-) )
>
> Dave August
>
>
>
>
> "Avi Rot" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hi! all
> > I'm trying to build a Embedded XP system .
> > On the XP system my application works good, but when I move to the EXP,
> > and run my application on it, the application window size exceeds the
> > screen
> > limits,
> > and makes it impossible to work. other applications and icon sizes seem to
> > be the same in both systems.
> > On both XP and EXP I use a screen resolution of 1024*768.
> > Setting a higher screen resolution lowers the color quality, and results
> > in
> > poor graphics in my application.
> > My application is a dialog based one (where changing the screen size is
> > not
> > possible).
> > I'm using a S3 Graphics Twister display adaptor.
> > I will appriciate any thoghts or ideas how to solve this problem.
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
> >

>
>



 
Reply With Quote
 
Dave August
Guest
Posts: n/a
 
      29th Oct 2004
Avi,

After googeling this subject I've found most people figured a work around
specific to their problem, so that's the route I'm taking.

FWIW the fix for my sub-dialogs was easy, I was using Arial as the font so I
just included Font:Arial.

My main dialogs are another thing... They are using "MS Sans Serif". I have
been including "MicroSoft Sans Serif" from the beginning, but I gather this
isn't the same font. Since my main dialog only has bitmaped buttons I put
up and no real text, the quick fix for me will be to rebuild my app using
Arial there too. I'm tempted to hack out a quick "Font Enumerator " just to
see the real names of the fonts that are installed.. the descriptions in TD
seem to be confusing...

At one point I included all 4 of the sserife, seriff,sserife,sseriff fonts
(because some one else said that solved their problem) and it only made
things worse, most of the "bug" in the corner of the eval desktop became
unreadable... go figure... so I took them out...

FYI none of this has fixed the problems with fonts in the command shell. I'm
not that worried about it though, since I'm just using it for debug...

Also this image is built multi-linguial, TD insisted that I have at last 1
other font, I chose Greek and I'm sure that's why I'm getting Cyrilc
characters in some places... I've gotten a few clues on how to build this
english only (It'll NEVER go anywhere than the USA) so I hope that will
resolve some of this...

And totaly OFF TOPIC... for any of you pilots out there.. I SOLOED yesterday
morning :-))

Dave August




"Slobodan Brcin (eMVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Dave,
>
> And after googling you will find that this is missing font issue that was
> and is very hot, from time to time
>
> Regards,
> Slobodan
>



 
Reply With Quote
 
Lynda Allen [MS]
Guest
Posts: n/a
 
      29th Oct 2004
Way to go on the Solo, Dave- that's a big deal!
--
Lynda

"This posting is provided "AS IS" with no warranties, and confers no rights"

"Dave August" <(E-Mail Removed)> wrote in message
news:%23JW1g$(E-Mail Removed)...
> Avi,
>
> After googeling this subject I've found most people figured a work around
> specific to their problem, so that's the route I'm taking.
>
> FWIW the fix for my sub-dialogs was easy, I was using Arial as the font so
> I just included Font:Arial.
>
> My main dialogs are another thing... They are using "MS Sans Serif". I
> have been including "MicroSoft Sans Serif" from the beginning, but I
> gather this isn't the same font. Since my main dialog only has bitmaped
> buttons I put up and no real text, the quick fix for me will be to rebuild
> my app using Arial there too. I'm tempted to hack out a quick "Font
> Enumerator " just to see the real names of the fonts that are installed..
> the descriptions in TD seem to be confusing...
>
> At one point I included all 4 of the sserife, seriff,sserife,sseriff
> fonts (because some one else said that solved their problem) and it only
> made things worse, most of the "bug" in the corner of the eval desktop
> became unreadable... go figure... so I took them out...
>
> FYI none of this has fixed the problems with fonts in the command shell.
> I'm not that worried about it though, since I'm just using it for debug...
>
> Also this image is built multi-linguial, TD insisted that I have at last 1
> other font, I chose Greek and I'm sure that's why I'm getting Cyrilc
> characters in some places... I've gotten a few clues on how to build this
> english only (It'll NEVER go anywhere than the USA) so I hope that will
> resolve some of this...
>
> And totaly OFF TOPIC... for any of you pilots out there.. I SOLOED
> yesterday morning :-))
>
> Dave August
>
>
>
>
> "Slobodan Brcin (eMVP)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi Dave,
>>
>> And after googling you will find that this is missing font issue that was
>> and is very hot, from time to time
>>
>> Regards,
>> Slobodan
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting a C++ application to a Web application Bartholomew Simpson Microsoft ASP .NET 2 19th Jun 2007 04:21 PM
Porting a C++ desktop application to a web application (AND dotnetdesktop app) Bartholomew Simpson Microsoft C# .NET 1 18th Jun 2007 11:23 PM
Porting a C++ desktop application to a web application (AND dotnetdesktop app) Bartholomew Simpson Microsoft VB .NET 1 18th Jun 2007 11:23 PM
Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! -$- Windows XP Internet Explorer 2 21st Dec 2003 11:45 PM
What is the advantage to porting MFC application to pure dotnet application jeff Microsoft VC .NET 0 10th Dec 2003 11:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:58 AM.