Click here to Skip to main content
16,010,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 8.3 format Pin
David Crow15-Feb-05 4:12
David Crow15-Feb-05 4:12 
GeneralRe: 8.3 format Pin
Mike Dimmick15-Feb-05 5:01
Mike Dimmick15-Feb-05 5:01 
GeneralRe: 8.3 format Pin
includeh1015-Feb-05 5:53
includeh1015-Feb-05 5:53 
GeneralRGB question.. Pin
rbid15-Feb-05 1:42
rbid15-Feb-05 1:42 
GeneralRe: RGB question.. Pin
RChin15-Feb-05 3:25
RChin15-Feb-05 3:25 
GeneralRe: RGB question.. Pin
normanS15-Feb-05 21:04
normanS15-Feb-05 21:04 
GeneralRe: RGB question.. Pin
basementman15-Feb-05 5:41
basementman15-Feb-05 5:41 
Questionmultiline edit box with 10000 lines??? Pin
rafal7715-Feb-05 1:34
sussrafal7715-Feb-05 1:34 
Firstly I'd like to say that English is not my native language, so don't be angry with my mistakes.
I have a following problem.
I have writen program in c++ and now I'm working on making GUI. I do MFC Dialog based application. The problem is with edit box. My program do lots of iteration (~20.000). After each iteration I want to have printed number of iteration and values of some variables. this way in multiline edit box i want to have some kind of raport. I maneged to do it but i think my solution is not optimal and proper. i have simply added CString variable to EditBox and in each iteration I add temporary String refering to current iteration to whole string variable. It looks like this:
/*CString mWholeString
CString mTmpString -these are examle variables*/
mWholeString+=mTmpString;
and after finishing all interation i do UpdatData(FALSE).

It works but I think that it works slowly and there may be batter solution. Is this possible to print text like in console application e.g. create array of CString and print it in edit box using for loop?
I thank in advance for any direction.

AnswerRe: multiline edit box with 10000 lines??? Pin
rocky_pulley15-Feb-05 1:47
rocky_pulley15-Feb-05 1:47 
AnswerRe: multiline edit box with 10000 lines??? Pin
David Crow15-Feb-05 4:15
David Crow15-Feb-05 4:15 
AnswerRe: multiline edit box with 10000 lines??? Pin
Ravi Bhavnani15-Feb-05 9:08
professionalRavi Bhavnani15-Feb-05 9:08 
GeneralCalling a C# dll from VC 7 Pin
CLermen15-Feb-05 0:59
CLermen15-Feb-05 0:59 
GeneralRe: Calling a C# dll from VC 7 Pin
Mike Dimmick15-Feb-05 1:15
Mike Dimmick15-Feb-05 1:15 
GeneralRe: Calling a C# dll from VC 7 Pin
CLermen15-Feb-05 2:01
CLermen15-Feb-05 2:01 
GeneralCreating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 0:43
Garth Watkins15-Feb-05 0:43 
GeneralRe: Creating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 9:22
Garth Watkins15-Feb-05 9:22 
GeneralRe: Creating child windows in PreSubclassWindow Pin
Garth Watkins15-Feb-05 9:26
Garth Watkins15-Feb-05 9:26 
GeneralRe: Creating child windows in PreSubclassWindow Pin
ThatsAlok16-Feb-05 19:07
ThatsAlok16-Feb-05 19:07 
GeneralMove a child window to an absolute position Pin
doctorpi14-Feb-05 22:32
doctorpi14-Feb-05 22:32 
GeneralRe: Move a child window to an absolute position Pin
Rajesh_Parameswaran15-Feb-05 0:14
Rajesh_Parameswaran15-Feb-05 0:14 
GeneralRe: Move a child window to an absolute position Pin
doctorpi15-Feb-05 0:20
doctorpi15-Feb-05 0:20 
GeneralRe: Move a child window to an absolute position Pin
User 665815-Feb-05 0:44
User 665815-Feb-05 0:44 
GeneralRe: Move a child window to an absolute position Pin
doctorpi15-Feb-05 0:50
doctorpi15-Feb-05 0:50 
GeneralRe: Move a child window to an absolute position Pin
Antony M Kancidrowski15-Feb-05 2:36
Antony M Kancidrowski15-Feb-05 2:36 
GeneralRe: Move a child window to an absolute position Pin
doctorpi15-Feb-05 2:39
doctorpi15-Feb-05 2:39 

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.