Click here to Skip to main content
16,010,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: i want to develop a GUI Pin
ThatsAlok24-Mar-06 18:56
ThatsAlok24-Mar-06 18:56 
QuestionHow to change Default color Buttons Without CBitmap? Pin
CodeVarma24-Mar-06 13:22
CodeVarma24-Mar-06 13:22 
AnswerRe: How to change Default color Buttons Without CBitmap? Pin
Hamid_RT24-Mar-06 17:45
Hamid_RT24-Mar-06 17:45 
QuestionQuestion about string case insensitive Pin
Helen Chang24-Mar-06 9:55
Helen Chang24-Mar-06 9:55 
AnswerRe: Question about string case insensitive Pin
PJ Arends24-Mar-06 10:04
professionalPJ Arends24-Mar-06 10:04 
AnswerRe: Question about string case insensitive Pin
Maximilien24-Mar-06 10:04
Maximilien24-Mar-06 10:04 
GeneralRe: Question about string case insensitive Pin
Helen Chang24-Mar-06 10:49
Helen Chang24-Mar-06 10:49 
GeneralRe: Question about string case insensitive Pin
Rapture2k424-Mar-06 16:08
Rapture2k424-Mar-06 16:08 
This is written in C, but should work just fine in C++.

/*************************************************************************************************/
#define TO_LOWER(letter) ((letter) >= 'A' && (letter) <= 'Z' ? (letter)+'a'-'A' : (letter))

bool string_cmp(const char *StringA, const char *StringB)
{
/* If either string is NULL, they don't match */
if (StringA == NULL || StringB == NULL)
return false;

for (; *StringA || *StringB; StringA++, StringB++)
{
if (TO_LOWER(*StringA) != TO_LOWER(*StringB))
return false;
}

return true;
}
/*************************************************************************************************/

Rapture2k4

-- modified at 6:56 Saturday 25th March, 2006
GeneralRe: Question about string case insensitive Pin
ThatsAlok24-Mar-06 18:58
ThatsAlok24-Mar-06 18:58 
QuestionHow to get Active document in a child frame class and in Main frame class. Pin
G Haranadh24-Mar-06 7:18
G Haranadh24-Mar-06 7:18 
AnswerRe: How to get Active document in a child frame class and in Main frame class. Pin
PJ Arends24-Mar-06 10:08
professionalPJ Arends24-Mar-06 10:08 
Questionhow let some windows respond one message or one sign to do something Pin
FlyWithYou24-Mar-06 5:19
FlyWithYou24-Mar-06 5:19 
AnswerRe: how let some windows respond one message or one sign to do something Pin
Blake Miller24-Mar-06 11:06
Blake Miller24-Mar-06 11:06 
Questionanybody has a template for video rental system??? Pin
wentalker24-Mar-06 4:37
wentalker24-Mar-06 4:37 
AnswerRe: anybody has a template for video rental system??? Pin
Maximilien24-Mar-06 4:50
Maximilien24-Mar-06 4:50 
GeneralRe: anybody has a template for video rental system??? Pin
Roger Stoltz24-Mar-06 4:57
Roger Stoltz24-Mar-06 4:57 
GeneralRe: anybody has a template for video rental system??? Pin
El Corazon25-Mar-06 8:54
El Corazon25-Mar-06 8:54 
Questionpass variable between dialogs Pin
viperlogic24-Mar-06 4:34
viperlogic24-Mar-06 4:34 
AnswerRe: pass variable between dialogs Pin
Roger Stoltz24-Mar-06 4:53
Roger Stoltz24-Mar-06 4:53 
GeneralRe: pass variable between dialogs Pin
viperlogic24-Mar-06 5:06
viperlogic24-Mar-06 5:06 
GeneralRe: pass variable between dialogs Pin
Waldermort24-Mar-06 13:08
Waldermort24-Mar-06 13:08 
AnswerRe: pass variable between dialogs Pin
toxcct25-Mar-06 5:01
toxcct25-Mar-06 5:01 
QuestionCold fusion accessing a C++ dll Pin
LCI24-Mar-06 4:10
LCI24-Mar-06 4:10 
QuestionTime management Pin
PRSFerreira24-Mar-06 4:09
PRSFerreira24-Mar-06 4:09 
AnswerRe: Time management Pin
toxcct24-Mar-06 4:17
toxcct24-Mar-06 4:17 

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.