Click here to Skip to main content
15,907,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 18:57
professionalGavin Taylor28-Nov-05 18:57 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 19:30
zhonglin.liang28-Nov-05 19:30 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 19:46
professionalGavin Taylor28-Nov-05 19:46 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 20:18
zhonglin.liang28-Nov-05 20:18 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 20:24
professionalGavin Taylor28-Nov-05 20:24 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 21:05
zhonglin.liang28-Nov-05 21:05 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 22:00
professionalGavin Taylor28-Nov-05 22:00 
QuestionMFC Program looking for a good tool for a log box. Pin
King Link28-Nov-05 15:15
King Link28-Nov-05 15:15 
I currently am working with Visual Studio 2005 if that matters, though trying to keep my code portable for people using pre .net Visual studio compiliations, so if possible no .net options.

I currently am using a CEdit box. However as I add text to it with this snippit

m_IDCResponseBox3 is a CEdit

<br />
char Response[1000]="";<br />
if(UDPSocket.CheckReceived())<br />
	if(UDPSocket.ExtraReceive(Response,1000)) //(loads data into the Response)<br />
	{<br />
		CString Text;<br />
		m_IDCResponseBox3.GetWindowText(Text);<br />
		strcat(Response,"\n");<br />
		Text+=Response;<br />
		m_IDCResponseBox3.SetWindowText(Text);<br />
         }<br />


However for some reason when the code runs through I get "200 e1VQf LOGIN ACCEPTED" With two Square boxes. These boxes are newlines. however it doesn't actually register in the editbox. Is there a way to register the newline in a EditBox, I've tried most of the options in the properties setup. Or is there a better tool for a short log? (probably 6-10 lines max.) I'm just using this to test UDP Responses)
AnswerRe: MFC Program looking for a good tool for a log box. Pin
Christian Graus28-Nov-05 15:34
protectorChristian Graus28-Nov-05 15:34 
GeneralRe: MFC Program looking for a good tool for a log box. Pin
S Douglas28-Nov-05 19:06
professionalS Douglas28-Nov-05 19:06 
QuestionMultiple language support using static lib Pin
Harshabhi28-Nov-05 14:15
Harshabhi28-Nov-05 14:15 
AnswerRe: Multiple language support using static lib Pin
Gavin Taylor28-Nov-05 19:15
professionalGavin Taylor28-Nov-05 19:15 
Questionno operator found which takes a right-hand operand of type 'char' Pin
Lord Kixdemp28-Nov-05 14:02
Lord Kixdemp28-Nov-05 14:02 
AnswerRe: no operator found which takes a right-hand operand of type 'char' Pin
PJ Arends28-Nov-05 14:28
professionalPJ Arends28-Nov-05 14:28 
GeneralRe: no operator found which takes a right-hand operand of type 'char' Pin
Lord Kixdemp28-Nov-05 14:41
Lord Kixdemp28-Nov-05 14:41 
QuestionConverting PDF's to TIFF's Pin
bitznarf28-Nov-05 12:02
bitznarf28-Nov-05 12:02 
Questionproject graph analys Pin
senatort77728-Nov-05 11:00
senatort77728-Nov-05 11:00 
AnswerRe: project graph analys Pin
kakan28-Nov-05 19:08
professionalkakan28-Nov-05 19:08 
QuestionFilling an array with random characters Pin
mouaronc28-Nov-05 10:52
mouaronc28-Nov-05 10:52 
AnswerRe: Filling an array with random characters Pin
Gary R. Wheeler28-Nov-05 14:05
Gary R. Wheeler28-Nov-05 14:05 
Question[Message Deleted] Pin
Bobamagoo28-Nov-05 10:17
Bobamagoo28-Nov-05 10:17 
AnswerRe: Dynamically Loading Managed Code from a DLL Pin
PJ Arends28-Nov-05 10:24
professionalPJ Arends28-Nov-05 10:24 
QuestionHelp -Voice Recognition- Visual Basic...Excel Macro Pin
jakabo28-Nov-05 8:49
jakabo28-Nov-05 8:49 
AnswerRe: Help -Voice Recognition- Visual Basic...Excel Macro Pin
Christian Graus28-Nov-05 10:38
protectorChristian Graus28-Nov-05 10:38 
GeneralRe: Help -Voice Recognition- Visual Basic...Excel Macro Pin
Rajesh R Subramanian28-Nov-05 20:13
professionalRajesh R Subramanian28-Nov-05 20:13 

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.