Message box text do not display co,plete message.

  • Thread starter Thread starter jiwan adhikari
  • Start date Start date
J

jiwan adhikari

Hi Help,
I am displaying text messages (in message box) in my XP
Embedded application.
But the problem is the text get truncated towards end of
the paragraph and then the next line is invisible.
Any help some one can provide, why this behivaor.
But if I go to desktop and do some changes to desktop
properties (message text )then it is fine. Though same is
not remembered for next statup.
I will appreciate if any clue is provided.
 
jiwan,

You image my be missing "MS Sans Serif" font or some other system fonts.

Also, does your system have EWF (write filter) running? That may prevent the
settings you do from being persistent. You may need to commit your changes.

Also, you may want to search this NG archive (Google) to find many font
related posts.

KM

ja> Hi Help,
ja> I am displaying text messages (in message box) in my XP
ja> Embedded application.
ja> But the problem is the text get truncated towards end of the
ja> paragraph and then the next line is invisible.
ja> Any help some one can provide, why this behivaor.
ja> But if I go to desktop and do some changes to desktop properties
ja> (message text )then it is fine. Though same is not remembered for
ja> next statup.
ja> I will appreciate if any clue is provided.
 
Georges,

I know you've read all the posts and answers on Fonts, and the like but give
this one last try. Go to www.xpefiles.com and download the Font Tracker
Macro I put up the other day. Follow the posted instructions for using it,
rebuild and give it a try. I promise if this doesn't work we will leave you
alone about fonts. :-)

http://www.xpefiles.com/a_file.cfm?custid=Development Utilities&fileid=Fon
t-Tracker.zip&groupName=Main

HTH,

Brad Combs
Imago Technologies

Georges Berenger said:
While I appreciate the time you took to answer, and with all due respect:

I have asked the same question a few weeks back, and precisely dismissed
all the suggested answers found in the archive. The answer to this
problem is not about a missing font, as proven by those screenshots that
compare a TaskManager dialog between XPe minlogon & XP Pro.
My image doesn't have EWF, so that is ruled out.
And of course, the font mentionned is included, as well as a few other
popular culprit.

I would love to get an answer, but please, be precise. "Look up the
archive" doesn't do it here. I have spent days on this one, and many
hours reading past posts. If it is indeed in a past post (which is very
possible), then please re-print the right post for I couldn't find it.
There were many right answers to similar problems, but never to that
very problem, or, in one single case, that answer didn't didn't work for
me (the answer was to remove some registry keys my image doesn't have).

This problem is popular enough, and fondamental enough, for MS to step
in and even document a solution. Anyone?

thanks!
-georges

ps: I have came up with a dirty work around, that work only for my apps,
that involves hacking standard messages boxes so that I can resize them
appropriately. Not a nice thing, but the only solution found since "my"
message boxes are aimed are beeing used when more advanced methods are
not available.
 
Brad said:
Georges,

I know you've read all the posts and answers on Fonts, and the like but give
this one last try. Go to www.xpefiles.com and download the Font Tracker
Macro I put up the other day. Follow the posted instructions for using it,
rebuild and give it a try. I promise if this doesn't work we will leave you
alone about fonts. :-)

http://www.xpefiles.com/a_file.cfm?custid=Development Utilities&fileid=Fon
t-Tracker.zip&groupName=Main

Thanks Brad for keeping trying!
No, though I had big hopes that this component that indeed added a few
components that I hadn't tried, this did not change things. No change
whatsoever.

I put my finger more precisely on the problem though: the bug goes away
if I turn off font antialiasing that I turned on using Win32 APIs.

To turn on:
::SystemParametersInfo(SPI_SETFONTSMOOTHING, TRUE, 0,
SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE);
::SystemParametersInfo(SPI_SETFONTSMOOTHINGTYPE, 0, (PVOID)
FE_FONTSMOOTHINGCLEARTYPE, SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE);
::SystemParametersInfo(SPI_SETFONTSMOOTHINGCONTRAST, 0, (PVOID) 1400,
SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE);

To turn off:
::SystemParametersInfo(SPI_SETFONTSMOOTHING, FALSE, 0,
SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE);

I need to look more precisely into this, but has anyone turned on
ClearType with MinLogon and got standard dialog boxes to display properly?

-thanks,
-georges
 

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

Back
Top