Article View: comp.windows.ms.programmer
Article #465SetDlgItemText() in Borland C++ 2.0
From: Paul Steckler
Date: Sun, 16 Aug 1992 04:56
Date: Sun, 16 Aug 1992 04:56
30 lines
1623 bytes
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 ... | -----------------------------------------------------------------------
Technical Details
Message-ID:
<1992Aug16.045635.18329@random.ccs.northeastern.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!chaos!random.ccs.northeastern.edu!steckShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!chaos!random.ccs.northeastern.edu!steck From: steck@dworkin.ccs.northeastern.edu (Paul Steckler) Newsgroups: comp.windows.ms.programmer,comp.lang.c++ Subject: SetDlgItemText() in Borland C++ 2.0 Message-ID: <1992Aug16.045635.18329@random.ccs.northeastern.edu> Date: 16 Aug 92 04:56:35 GMT Sender: news@random.ccs.northeastern.edu Organization: College of Computer Science, Northeastern University Lines: 30 Originator: steck@dworkin.ccs.northeastern.edu