Article View: borland.public.cppbuilder.nativeapi
Article #4003Re: Length of text in MessageBox function
From: Remy Lebeau (TeamB)
Date: Thu, 30 Mar 2006 23:17
Date: Thu, 30 Mar 2006 23:17
24 lines
2039 bytes
2039 bytes
"Richard Casten" <richard.casten@aero.org> wrote in message news:442C615F.2A382D1D@aero.org... > I was able to do and, as expected, the character string was clipped > since the bold font produced a string longer than the window. Did you apply your font before you resizes the windows? > I need to be able to resize the windows. I have tried to use SetWindowPos. > It works for the parent window of the text but when I use it for the window > containing the text, the text disappears. Please show your actual code. Changing a window's position should not effect its ability to display itself. Are you sure that you are not simply re-positioning offscreen? To be honest, at this point, your requirements are too complex for simple hooks. You would be better off just making your own dialog from scratch instead. Gambit
Technical Details
Message-ID:
<442c66f0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com> <4422FA56.83B7F39@aero.org> <442319ab@newsgroups.borland.com> <442ADEA7.B11F561C@aero.org> <442af3e1$1@newsgroups.borland.com> <442C0FDB.EE56D321@aero.org> <442C24BE.8091C591@aero.org> <442c59a6$3@newsgroups.borland.com> <442C615F.2A382D1D@aero.org>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8d4aea1a094904b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com> <4422FA56.83B7F39@aero.org> <442319ab@newsgroups.borland.com> <442ADEA7.B11F561C@aero.org> <442af3e1$1@newsgroups.borland.com> <442C0FDB.EE56D321@aero.org> <442C24BE.8091C591@aero.org> <442c59a6$3@newsgroups.borland.com> <442C615F.2A382D1D@aero.org> Subject: Re: Length of text in MessageBox function Date: Thu, 30 Mar 2006 15:17:02 -0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <442c66f0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1143760624 68.69.17.41 (30 Mar 2006 15:17:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail