🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
1 messages
1 total messages Started by Paul Steckler Sun, 16 Aug 1992 04:56
SetDlgItemText() in Borland C++ 2.0
#465
Author: Paul Steckler
Date: Sun, 16 Aug 1992 04:56
30 lines
1623 bytes
Since I only occasionally use C++, I'm still back at Borland C++
version 2.0.

I'm trying to modify the text in an edit control attached to
a dialog box.

Instead of seeing the new text, I just get a blank edit 
control.

The call I'm making looks like:

	SetDlgItemText(hDlg,FILENAME,lpstr);

just like in Petzold.  (If I don't make this call, the 
initial text DOES appear - the call blanks it out).

Could this be a compiler/library bug?  If not, what might I
be doing wrong?

-- Paul

 -----------------------------------------------------------------------
| Paul Steckler                       |  Were I Brittania,              |
| steck@dworkin.ccs.northeastern.edu  |    I'd waive the rules ...      |
 -----------------------------------------------------------------------
-- 
 -----------------------------------------------------------------------
| Paul Steckler                       |  Were I Brittania,              |
| steck@dworkin.ccs.northeastern.edu  |    I'd waive the rules ...      |
 -----------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads