Article View: comp.os.ms-windows.programmer.tools.owl
Article #19Re: GetDlgItemText??
From: Justin E. Kagan
Date: Wed, 21 Feb 1996 08:20
Date: Wed, 21 Feb 1996 08:20
23 lines
1474 bytes
1474 bytes
Steen RabΓΈl wrote: > > On 19 Feb 1996 05:47:27 GMT, Ian <imccalli@portage.net> wrote: > > >I want to get a string from a dialog box, say like a wanted to get > >d:\games\solitare.exe > >I figured I have to use the GetDlgItemText(think that's it) but when do I > >use? > > When you need the information. Just before you exit your dialog. > > Best > Steen > -------------------------------------------------- > EMail : srabol@vip.cybercity.dk > : scsr@pip.dknet.dk > WWW : www.cybercity.dk/users/ccc2277/home.html > > Author of WebDesigner Why go about this the hard way? Use Class Wizard to derive your dialog class and assign a member variable to the control that contains the text. The member variable is public, so you can access it with the . operator after a call to the DoModal() function.
Technical Details
Message-ID:
<312AD606.2B0E@primenet.com>Path:
arc1-ca.pugleaf.net!news.primenet.com!not-for-mailReferences:
<4g92tf$1bt@felix.junction.net> <3128ed42.2005508@news.cybercity.dk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.primenet.com!not-for-mail From: "Justin E. Kagan" <jekagan@primenet.com> Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c++,comp.os.ms-windows.programmer.misc Subject: Re: GetDlgItemText?? Date: 21 Feb 1996 01:20:02 -0700 Organization: Primenet Services for the Internet Sender: root@primenet.com Message-ID: <312AD606.2B0E@primenet.com> References: <4g92tf$1bt@felix.junction.net> <3128ed42.2005508@news.cybercity.dk> X-Posted-By: ip182.lax.primenet.com X-Mailer: Mozilla 2.0GoldB1 (Win95; I) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit