CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (1 messages)

From: Scott Smith Foundation Classes Forum · Doc/View/UI July 8, 1994 2:18 AM
I ran into an interesting 'bug' today. It isn't really a bug, but it's caused by an easy-to-make mistake, and the results are pretty disasterous. Here's a sample of some code using CListBox::GetText: MyDlg::MyFunc(int iIndex) { CString sListBoxItemText ; m_CListBoxFoo.GetText( iIndex, sListBoxItemText ) ; … } The GetText function is…