Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with old code about pointer!!! Pin
Jeremy Falcon25-Jun-04 12:13
professionalJeremy Falcon25-Jun-04 12:13 
GeneralRe: problem with old code about pointer!!! Pin
Jeremy Falcon25-Jun-04 12:10
professionalJeremy Falcon25-Jun-04 12:10 
GeneralTemporary File! Pin
mostafa_pasha25-Jun-04 8:16
mostafa_pasha25-Jun-04 8:16 
GeneralRe: Temporary File! Pin
David Crow25-Jun-04 9:01
David Crow25-Jun-04 9:01 
QuestionMultiline edit box ?? Pin
Spank me!!25-Jun-04 8:11
Spank me!!25-Jun-04 8:11 
AnswerRe: Multiline edit box ?? Pin
valikac25-Jun-04 8:25
valikac25-Jun-04 8:25 
AnswerRe: Multiline edit box ?? Pin
David Crow25-Jun-04 9:00
David Crow25-Jun-04 9:00 
AnswerRe: Multiline edit box ?? Pin
Christopher Lloyd25-Jun-04 9:02
Christopher Lloyd25-Jun-04 9:02 
Get the current text from the edit box (GetDlgItemText) to a buffer, append a newline to the end of the buffer, append your new message to the end of that and then send the whole lot back to the edit box (SetDlgItemText). Of course, you could just keep your buffer between messages and then you wouldn't need to get the current text each time.
If you want a better solution then use EM_SETHANDLE to set the handle of the buffer the control is displaying and then manage the buffer yourself.
Hope that helps, good luck.
AnswerRe: Multiline edit box ?? Pin
Ravi Bhavnani26-Jun-04 4:55
professionalRavi Bhavnani26-Jun-04 4:55 
Questionsse2 intrinsics question? Pin
Anand RK25-Jun-04 7:57
Anand RK25-Jun-04 7:57 
AnswerRe: sse2 intrinsics question? Pin
Christopher Lloyd25-Jun-04 10:05
Christopher Lloyd25-Jun-04 10:05 
GeneralRe: sse2 intrinsics question? Pin
Anand RK25-Jun-04 11:20
Anand RK25-Jun-04 11:20 
GeneralRe: sse2 intrinsics question? Pin
Anand RK25-Jun-04 15:08
Anand RK25-Jun-04 15:08 
GeneralRe: sse2 intrinsics question? Pin
Christopher Lloyd25-Jun-04 15:08
Christopher Lloyd25-Jun-04 15:08 
GeneralFileDialog and ActiveX Pin
TUMB25-Jun-04 7:40
TUMB25-Jun-04 7:40 
GeneralOpen Excutable Program in VC Pin
mostafa_pasha25-Jun-04 7:34
mostafa_pasha25-Jun-04 7:34 
GeneralRe: Open Excutable Program in VC Pin
User 665825-Jun-04 7:50
User 665825-Jun-04 7:50 
Generalinline vs macro Pin
BengCésar25-Jun-04 5:10
BengCésar25-Jun-04 5:10 
GeneralRe: inline vs macro Pin
Antony M Kancidrowski25-Jun-04 6:23
Antony M Kancidrowski25-Jun-04 6:23 
GeneralRe: inline vs macro Pin
David Crow25-Jun-04 6:49
David Crow25-Jun-04 6:49 
GeneralRe: inline vs macro Pin
BengCésar25-Jun-04 7:31
BengCésar25-Jun-04 7:31 
GeneralRe: inline vs macro Pin
vladfein25-Jun-04 7:57
vladfein25-Jun-04 7:57 
GeneralRe: inline vs macro Pin
David Crow25-Jun-04 7:59
David Crow25-Jun-04 7:59 
GeneralSend RST flag in the TCP Header, using Winsock API or others Pin
sundareswaran.senthilvel25-Jun-04 4:59
professionalsundareswaran.senthilvel25-Jun-04 4:59 
GeneralClasswizard Crash in Visual C++ 6 on XP Pin
kassad66625-Jun-04 4:24
kassad66625-Jun-04 4:24 

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.