Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: UNICODE Files Pin
Rajesh R Subramanian20-Mar-06 21:04
professionalRajesh R Subramanian20-Mar-06 21:04 
AnswerRe: UNICODE Files Pin
Johann Gerell20-Mar-06 21:10
Johann Gerell20-Mar-06 21:10 
GeneralRe: UNICODE Files Pin
bosfan21-Mar-06 2:47
bosfan21-Mar-06 2:47 
QuestionHow to access the child windows in MDI application? Pin
Sarvan AL20-Mar-06 20:34
Sarvan AL20-Mar-06 20:34 
AnswerRe: How to access the child windows in MDI application? Pin
Nibu babu thomas21-Mar-06 0:06
Nibu babu thomas21-Mar-06 0:06 
QuestionCString Mid() Pin
RadioOpa20-Mar-06 20:30
RadioOpa20-Mar-06 20:30 
AnswerRe: CString Mid() Pin
Naveen20-Mar-06 20:42
Naveen20-Mar-06 20:42 
AnswerRe: CString Mid() Pin
bosfan20-Mar-06 20:50
bosfan20-Mar-06 20:50 
Hello RadioOpa,

try this:

<br />
int i =0;<br />
while(i < csComboBoxText.GetLength())<br />
{<br />
	if(csComboBoxText.GetAt(i) == '$') // if we found the first separator in the string<br />
	{<br />
	i++; // move one place to skip the separator<br />
	while(csComboBoxText.GetAt(i) != '$') // now copy all characters in your string, while not found the next separator<br />
	{<br />
		csAnsprech += csComboBoxText.GetAt(i);<br />
		i++; // move to the next character<br />
	}<br />
	}<br />
	i++;// move to the next character<br />
}<br />

i hope that helps you!
regards
break;
P.S. that sample from nave ist very good, i want just to show you another way without Find-Functions to extract a part of string
-- modified at 2:55 Tuesday 21st March, 2006
GeneralRe: CString Mid() Pin
RadioOpa20-Mar-06 21:14
RadioOpa20-Mar-06 21:14 
AnswerRe: CString Mid() Pin
Michael Dunn21-Mar-06 6:59
sitebuilderMichael Dunn21-Mar-06 6:59 
Questionchar array to CString ?? Pin
dharani20-Mar-06 20:16
dharani20-Mar-06 20:16 
AnswerRe: char array to CString ?? Pin
Cedric Moonen20-Mar-06 20:20
Cedric Moonen20-Mar-06 20:20 
GeneralRe: char array to CString ?? Pin
dharani20-Mar-06 21:37
dharani20-Mar-06 21:37 
GeneralRe: char array to CString ?? Pin
kakan20-Mar-06 23:12
professionalkakan20-Mar-06 23:12 
AnswerRe: char array to CString ?? Pin
James R. Twine21-Mar-06 6:59
James R. Twine21-Mar-06 6:59 
AnswerRe: char array to CString ?? Pin
Divyang Mithaiwala21-Mar-06 3:36
Divyang Mithaiwala21-Mar-06 3:36 
AnswerRe: char array to CString ?? Pin
toxcct21-Mar-06 4:10
toxcct21-Mar-06 4:10 
QuestionIs it possible to display Application's GUI/Console Window which activated by CreateProcess in Windows Service? Pin
yuguo.li20-Mar-06 19:51
yuguo.li20-Mar-06 19:51 
QuestionHelp,How to bind a web protocol? Pin
Jiang Miao20-Mar-06 19:48
Jiang Miao20-Mar-06 19:48 
AnswerRe: Help,How to bind a web protocol? Pin
Jiang Miao20-Mar-06 20:18
Jiang Miao20-Mar-06 20:18 
Questioncreating a bitmap // filling colors in "BITMAP" Pin
himuskanhere20-Mar-06 19:07
himuskanhere20-Mar-06 19:07 
AnswerRe: creating a bitmap // filling colors in "BITMAP" Pin
Hamid_RT20-Mar-06 19:54
Hamid_RT20-Mar-06 19:54 
Questionfilling colors in "BITMAP" Pin
himuskanhere20-Mar-06 19:05
himuskanhere20-Mar-06 19:05 
Question__RPC_FAR Pin
HakunaMatada20-Mar-06 18:46
HakunaMatada20-Mar-06 18:46 
AnswerRe: __RPC_FAR Pin
Nibu babu thomas20-Mar-06 19:22
Nibu babu thomas20-Mar-06 19:22 

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.