🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1490

Re: SetDlgItemText() w/ BC++ 2.0

#1490
From: CADSI
Date: Mon, 04 Mar 1991 15:12
12 lines
917 bytes
From article <1991Mar4.073605.586@isis.cs.du.edu>, by ebergman@isis.cs.du.edu (Eric Bergman-Terrell):
> 
> Is there a bug with SetDlgItemText() in Borland C++ 2.0?
> 
> I can use SetDlgItemInt() on a dialog box field with no problem.
> When I try to use SetDlgItemText() on the same field, I can't make
> it work - it places a "%d" in the specified field, rather than the
> (literal) string that I pass the fcn.
> 
> Any ideas?

You sure you gave SetDlgItemText a LPSTR and not a near pointer???
Technical Details
Message-ID: <1991Mar4.151215.32350@ccad.uiowa.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!ccad.uiowa.edu!cadsi
References: <1991Mar4.073605.586@isis.cs.du.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!ccad.uiowa.edu!cadsi
From: cadsi@ccad.uiowa.edu (CADSI)
Newsgroups: comp.windows.ms.programmer
Subject: Re: SetDlgItemText() w/ BC++ 2.0
Message-ID: <1991Mar4.151215.32350@ccad.uiowa.edu>
Date: 4 Mar 91 15:12:15 GMT
References: <1991Mar4.073605.586@isis.cs.du.edu>
Organization: CAD-Research, U. of Iowa, Iowa City, Iowa
Lines: 12