Click here to Skip to main content
15,917,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How does fscanf in C/C++ work? Pin
Anonymous7-May-04 2:00
Anonymous7-May-04 2:00 
GeneralCOleControl Pin
asv7-May-04 0:44
asv7-May-04 0:44 
QuestionGetInternetFileVersionInfo API? Pin
eqmule7-May-04 0:42
eqmule7-May-04 0:42 
AnswerRe: GetInternetFileVersionInfo API? Pin
Iain Clarke, Warrior Programmer7-May-04 1:43
Iain Clarke, Warrior Programmer7-May-04 1:43 
GeneralReports Generation (Advice Required) Pin
Imtiaz Murtaza7-May-04 0:20
Imtiaz Murtaza7-May-04 0:20 
GeneralProblem with calling stack window Pin
HansGanter6-May-04 23:08
HansGanter6-May-04 23:08 
GeneralRe: Problem with calling stack window Pin
Jens Doose7-May-04 2:46
Jens Doose7-May-04 2:46 
GeneralCString How Big Pin
sweep1236-May-04 22:05
sweep1236-May-04 22:05 
What is the maximum size of string you can place in a Edit Box on a dialog. Note I am using CString for holding the text.

I am using a multiline Edit Box to display the progress of a test activity. The display used to be a DOS Window.

I use the following code to update the output:-

m_Output.SetFocus(); // Set the focus to main window of the GUI
m_strNewText.Format ("%s", m_pMsg->OutputText); // Copy from memory into m_strNewText variable
m_strOutput+= m_strNewText + crlf; // Total display string;
SetDlgItemText(IDC_OUTPUT1, m_strOutput); // Display the new text appended onto old text
UpdateData(); // Refresh the control

I was thinking of checking the size and restarting when getting near the limit, but what is the limit?



GeneralRe: CString How Big Pin
Hesham Amin6-May-04 22:17
Hesham Amin6-May-04 22:17 
GeneralRe: CString How Big Pin
sweep1237-May-04 0:48
sweep1237-May-04 0:48 
GeneralRe: CString How Big Pin
David Crow7-May-04 3:00
David Crow7-May-04 3:00 
GeneralRe: CString How Big Pin
J.B.23-Jun-04 7:19
J.B.23-Jun-04 7:19 
GeneralRe: CString How Big Pin
David Crow23-Jun-04 7:40
David Crow23-Jun-04 7:40 
GeneralCString questions Pin
deecasas6-May-04 22:01
deecasas6-May-04 22:01 
GeneralRe: CString questions Pin
Anonymous6-May-04 22:24
Anonymous6-May-04 22:24 
GeneralRe: CString questions Pin
deecasas6-May-04 22:31
deecasas6-May-04 22:31 
GeneralRe: CString questions Pin
jmkhael6-May-04 22:33
jmkhael6-May-04 22:33 
GeneralRe: CString questions Pin
Steve S6-May-04 22:45
Steve S6-May-04 22:45 
GeneralRe: CString questions Pin
Maxwell Chen6-May-04 22:45
Maxwell Chen6-May-04 22:45 
GeneralRe: CString questions Pin
deecasas7-May-04 2:56
deecasas7-May-04 2:56 
GeneralSHBrowseForFolder Pin
Ni@m6-May-04 21:59
Ni@m6-May-04 21:59 
GeneralRe: SHBrowseForFolder Pin
Hesham Amin6-May-04 22:33
Hesham Amin6-May-04 22:33 
Questionhow to get COleDispatchDriver's point from COleDispatchDriver's handle? Pin
wl@syntc.com.cn6-May-04 21:55
wl@syntc.com.cn6-May-04 21:55 
AnswerRe: how to get COleDispatchDriver's point from COleDispatchDriver's handle? Pin
Anthony_Yio7-May-04 0:07
Anthony_Yio7-May-04 0:07 
GeneralRe: how to get COleDispatchDriver's point from COleDispatchDriver's handle? Pin
wl@syntc.com.cn7-May-04 14:35
wl@syntc.com.cn7-May-04 14:35 

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.