🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4025

Re: Length of text in MessageBox function

#4025
From: Bob Gonder
Date: Tue, 04 Apr 2006 17:24
13 lines
1981 bytes
Richard Casten wrote:

>I guess that's the right way to do it.  However, I was trying to do this as pure
>'C' function to go into our utility library and hence wanted to only use the
>Windows API.  I know it would be easy if I used the VCL.

There's no reason why you can't use the Win API to create a dialog.
After all, people were creating windows dialogs for many years before
VCL came along.
The dialog resource just goes into an rc file. It's not a big deal.

Use CreateDialog() to have full control over your dialog.
Use DialogBox() if you only need standard handling.
Technical Details
Message-ID: <pia532ldl5lr9pk6el4ul0ibjda2j25vmq@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.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
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> <g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com> <442D8A1E.8012C74D@aero.org> <44327a80@newsgroups.borland.com> <443294DC.D27A753D@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: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Length of text in MessageBox function
Date: Tue, 04 Apr 2006 10:24:11 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <pia532ldl5lr9pk6el4ul0ibjda2j25vmq@4ax.com>
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> <g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com> <442D8A1E.8012C74D@aero.org> <44327a80@newsgroups.borland.com> <443294DC.D27A753D@aero.org>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 4.246.207.32
X-Trace: newsgroups.borland.com 1144171449 4.246.207.32 (4 Apr 2006 10:24:09 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.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