Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detect CEdit number of lines? Pin
Anonymous20-Nov-02 20:35
Anonymous20-Nov-02 20:35 
GeneralRe: Detect CEdit number of lines? Pin
Anonymous20-Nov-02 20:38
Anonymous20-Nov-02 20:38 
Generalvery good samples on connection string format Pin
devvvy19-Nov-02 15:44
devvvy19-Nov-02 15:44 
GeneralRe: very good samples on connection string format Pin
PJ Arends19-Nov-02 19:56
professionalPJ Arends19-Nov-02 19:56 
GeneralCListCtrl and backgrounds Pin
Developer10119-Nov-02 14:39
Developer10119-Nov-02 14:39 
GeneralRe: CListCtrl and backgrounds Pin
Rickard Andersson2019-Nov-02 21:45
Rickard Andersson2019-Nov-02 21:45 
GeneralWaitable Timers Pin
Anonymous19-Nov-02 10:44
Anonymous19-Nov-02 10:44 
GeneralCEdit::LineLength question Pin
brianwelsch19-Nov-02 10:40
brianwelsch19-Nov-02 10:40 
I'm ranging through a CEdit object's lines, but every time I do the following, LineLength() returns the length of the first edit line. Confused | :confused:
Any help? I understand this function, LineLength(i), to return the length of the edit control line, whose index is zero-based, i. That much is correct, right?

CString sLine;
for(int i=0; i<m_Edit->GetLineCount();i++)
{
  m_Edit->GetLine(i, sLine.GetBuffer(m_Edit->LineLength(i)), m_Edit->LineLength(i));
...
...
}


BW
"I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!"
- Homer J. Simpson

GeneralRe: CEdit::LineLength question Pin
Chris Hambleton19-Nov-02 11:35
Chris Hambleton19-Nov-02 11:35 
GeneralRe: CEdit::LineLength question Pin
Chris Richardson19-Nov-02 18:39
Chris Richardson19-Nov-02 18:39 
GeneralRe: CEdit::LineLength question - DONE Pin
brianwelsch25-Nov-02 4:08
brianwelsch25-Nov-02 4:08 
GeneralMultithreading in NT Pin
Madmaximus19-Nov-02 10:23
Madmaximus19-Nov-02 10:23 
GeneralRe: Multithreading in NT Pin
Joaquín M López Muñoz19-Nov-02 11:42
Joaquín M López Muñoz19-Nov-02 11:42 
GeneralRe: Multithreading in NT Pin
Madmaximus20-Nov-02 2:11
Madmaximus20-Nov-02 2:11 
GeneralRe: Multithreading in NT Pin
Joaquín M López Muñoz20-Nov-02 2:30
Joaquín M López Muñoz20-Nov-02 2:30 
GeneralRe: Multithreading in NT Pin
Madmaximus21-Nov-02 4:18
Madmaximus21-Nov-02 4:18 
GeneralRe: Multithreading in NT Pin
Joaquín M López Muñoz21-Nov-02 7:50
Joaquín M López Muñoz21-Nov-02 7:50 
GeneralRe: Multithreading in NT Pin
Madmaximus22-Nov-02 9:03
Madmaximus22-Nov-02 9:03 
GeneralCanceling the closing of a modal dialog Pin
Ken Goguen19-Nov-02 9:11
Ken Goguen19-Nov-02 9:11 
GeneralRe: Canceling the closing of a modal dialog Pin
RobJones19-Nov-02 9:19
RobJones19-Nov-02 9:19 
GeneralRe: Canceling the closing of a modal dialog Pin
Ken Goguen19-Nov-02 9:30
Ken Goguen19-Nov-02 9:30 
GeneralRe: Canceling the closing of a modal dialog Pin
Joaquín M López Muñoz19-Nov-02 9:55
Joaquín M López Muñoz19-Nov-02 9:55 
GeneralRe: Canceling the closing of a modal dialog Pin
Navin19-Nov-02 11:20
Navin19-Nov-02 11:20 
GeneralMessagebox and Manifest Pin
S van Leent19-Nov-02 8:29
S van Leent19-Nov-02 8:29 
GeneralRe: Messagebox and Manifest Pin
Joaquín M López Muñoz19-Nov-02 10:11
Joaquín M López Muñoz19-Nov-02 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.