Click here to Skip to main content
15,909,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC doc/view Pin
Wim Jans5-Aug-01 11:05
Wim Jans5-Aug-01 11:05 
GeneralRe: MFC doc/view Pin
Frank Deo5-Aug-01 12:38
Frank Deo5-Aug-01 12:38 
GeneralRe: MFC doc/view Pin
Wim Jans5-Aug-01 21:21
Wim Jans5-Aug-01 21:21 
Generalfinding a string in a CString Pin
5-Aug-01 3:02
suss5-Aug-01 3:02 
GeneralRe: finding a string in a CString Pin
Steve Maier5-Aug-01 3:47
professionalSteve Maier5-Aug-01 3:47 
GeneralRe: finding a string in a CString Pin
Baafie5-Aug-01 3:51
Baafie5-Aug-01 3:51 
GeneralRe: finding a string in a CString Pin
Baafie5-Aug-01 3:51
Baafie5-Aug-01 3:51 
GeneralRe: finding a string in a CString Pin
#realJSOP5-Aug-01 5:02
professional#realJSOP5-Aug-01 5:02 
Ummm, you got the method name case wrong...

CString sBuffer(_T("The coffee smells terrible"));
if (sBuffer.Find("err") >= 0) // "Find" starts with a capital "F"
{
    // string was found
}
else
{
    // string not found
}


Also, keep in mind that string searches in a CString are case-sensitive, so if that matters, you may want to use the CString::MakeLower() function befoire running your search.
GeneralRemoving Help button from Wizard Pin
4-Aug-01 20:53
suss4-Aug-01 20:53 
GeneralRe: Removing Help button from Wizard Pin
Bill Leibold4-Aug-01 21:30
Bill Leibold4-Aug-01 21:30 
GeneralRe: Removing Help button from Wizard Pin
Paolo Messina5-Aug-01 5:54
professionalPaolo Messina5-Aug-01 5:54 
GeneralMaintaining Referential Integrity Pin
Reno Tiko4-Aug-01 15:37
Reno Tiko4-Aug-01 15:37 
GeneralUsing CTabCtrl Effectivelty Pin
AJ1234-Aug-01 12:11
AJ1234-Aug-01 12:11 
QuestionWhat's the difference? Pin
4-Aug-01 10:21
suss4-Aug-01 10:21 
AnswerRe: What's the difference? Pin
Chris Losinger4-Aug-01 10:26
professionalChris Losinger4-Aug-01 10:26 
GeneralRe: What's the difference? Pin
4-Aug-01 10:32
suss4-Aug-01 10:32 
GeneralRe: What's the difference? Pin
Christian Graus4-Aug-01 11:39
protectorChristian Graus4-Aug-01 11:39 
GeneralRe: What's the difference? Pin
Ben Burnett4-Aug-01 11:40
Ben Burnett4-Aug-01 11:40 
GeneralRe: What's the difference? Pin
Christian Graus4-Aug-01 11:43
protectorChristian Graus4-Aug-01 11:43 
GeneralRe: What's the difference? Pin
Ben Burnett4-Aug-01 12:00
Ben Burnett4-Aug-01 12:00 
GeneralRe: Gloabl variabl, reference & pointer. Pin
Masaaki Onishi5-Aug-01 6:27
Masaaki Onishi5-Aug-01 6:27 
GeneralRe: What's the difference? Pin
Joe Woodbury5-Aug-01 9:03
professionalJoe Woodbury5-Aug-01 9:03 
Generallinked list with fast sorting Pin
4-Aug-01 4:17
suss4-Aug-01 4:17 
GeneralRe: linked list with fast sorting Pin
Christian Graus4-Aug-01 11:41
protectorChristian Graus4-Aug-01 11:41 
GeneralRe: linked list with fast sorting Pin
6-Aug-01 0:12
suss6-Aug-01 0:12 

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.