Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help me !! VK_RETURN Pin
Valeria Bogdevich23-Jul-03 4:53
Valeria Bogdevich23-Jul-03 4:53 
GeneralThread Pool Pin
peace maker23-Jul-03 4:40
peace maker23-Jul-03 4:40 
GeneralRe: Thread Pool Pin
Xiangyang Liu 刘向阳23-Jul-03 4:52
Xiangyang Liu 刘向阳23-Jul-03 4:52 
GeneralRe: Thread Pool Pin
Joe Woodbury23-Jul-03 7:29
professionalJoe Woodbury23-Jul-03 7:29 
Generaldetecting alpha characters in a string Pin
si_6923-Jul-03 4:26
si_6923-Jul-03 4:26 
GeneralRe: detecting alpha characters in a string Pin
Alexander M.,23-Jul-03 4:31
Alexander M.,23-Jul-03 4:31 
GeneralRe: detecting alpha characters in a string Pin
AlexO23-Jul-03 4:38
AlexO23-Jul-03 4:38 
GeneralRe: detecting alpha characters in a string Pin
Ryan Binns23-Jul-03 4:48
Ryan Binns23-Jul-03 4:48 
bool containsAlphaCharacters(CString str)
{
   str.MakeLower();
   return(str.FindOneOf(_T("abcdefghijklmnopqrstuvwxyz")) >= 0);
}
or
#include <ctype.h>
bool containsAlphaCharacters(CString str)
{
   for(int i=0; i<str.GetLength(); i++)
   {
      if(_istalpha(str[i]))   // Unicode-aware...
         return true;
   }
   return false;
}
Hope this helps,

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: detecting alpha characters in a string Pin
si_6923-Jul-03 5:37
si_6923-Jul-03 5:37 
GeneralRe: detecting alpha characters in a string Pin
Ryan Binns23-Jul-03 5:41
Ryan Binns23-Jul-03 5:41 
Generalproblem getting data from a list box Pin
Deepak Samuel23-Jul-03 4:16
Deepak Samuel23-Jul-03 4:16 
GeneralRe: problem getting data from a list box Pin
Alexander M.,23-Jul-03 4:20
Alexander M.,23-Jul-03 4:20 
GeneralRe: problem getting data from a list box Pin
valikac23-Jul-03 5:03
valikac23-Jul-03 5:03 
GeneralRe: problem getting data from a list box Pin
David Crow23-Jul-03 5:08
David Crow23-Jul-03 5:08 
Questioncan I add my own methods to CList Pin
mr200323-Jul-03 4:04
mr200323-Jul-03 4:04 
AnswerRe: can I add my own methods to CList Pin
Alexander M.,23-Jul-03 4:06
Alexander M.,23-Jul-03 4:06 
Questionhow to use friend function? Pin
IT_student23-Jul-03 4:04
IT_student23-Jul-03 4:04 
AnswerRe: how to use friend function? Pin
Alexander M.,23-Jul-03 4:09
Alexander M.,23-Jul-03 4:09 
GeneralRe: how to use friend function? Pin
IT_student23-Jul-03 4:23
IT_student23-Jul-03 4:23 
GeneralRe: how to use friend function? Pin
Alexander M.,23-Jul-03 4:34
Alexander M.,23-Jul-03 4:34 
QuestionHow do I break up a string? Pin
Tom Wright23-Jul-03 3:36
Tom Wright23-Jul-03 3:36 
AnswerRe: How do I break up a string? Pin
keegan23-Jul-03 3:45
keegan23-Jul-03 3:45 
GeneralRe: How do I break up a string? Pin
Tom Wright23-Jul-03 3:56
Tom Wright23-Jul-03 3:56 
GeneralRe: How do I break up a string? Pin
David Crow23-Jul-03 4:03
David Crow23-Jul-03 4:03 
AnswerRe: How do I break up a string? Pin
Alexander M.,23-Jul-03 4:11
Alexander M.,23-Jul-03 4:11 

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.