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

C / C++ / MFC

 
GeneralRe: Q: how to get a themed scrollbar Pin
Steve S10-May-06 2:28
Steve S10-May-06 2:28 
QuestionSimple Q Pin
Anilkumar K V5-May-06 0:54
Anilkumar K V5-May-06 0:54 
AnswerRe: Simple Q Pin
Cedric Moonen5-May-06 0:58
Cedric Moonen5-May-06 0:58 
AnswerRe: Simple Q Pin
_AnsHUMAN_ 5-May-06 1:01
_AnsHUMAN_ 5-May-06 1:01 
GeneralRe: Simple Q Pin
toxcct5-May-06 1:03
toxcct5-May-06 1:03 
GeneralRe: Simple Q Pin
Cedric Moonen5-May-06 1:04
Cedric Moonen5-May-06 1:04 
JokeRe: Simple Q Pin
toxcct5-May-06 1:06
toxcct5-May-06 1:06 
GeneralRe: Simple Q Pin
Laxman Auti5-May-06 2:19
Laxman Auti5-May-06 2:19 
What actully compared..?? see the flow of calling sequence of functions
int Compare( PCXSTR psz ) const throw()
	{
		ATLASSERT( AtlIsValidString( psz ) );
		return( StringTraits::StringCompare( GetString(), psz ) );
	}

//for MBCS
static int __cdecl StringCompare( LPCSTR pszA, LPCSTR pszB ) throw()
	{
		return _mbscmp( reinterpret_cast< const unsigned char* >( pszA ), reinterpret_cast< const unsigned char* >( pszB ) );
	}


//for Unicode
static int __cdecl StringCompare( LPCWSTR pszA, LPCWSTR pszB ) throw()
	{
		return wcscmp( pszA, pszB );
	}

So finally what is the result..??

"const char *" are compared..Smile | :)



Knock out 'T' from CAN'T
You 'CAN' if you think you 'CAN'
Cool | :cool:
GeneralRe: Simple Q Pin
Cedric Moonen5-May-06 2:32
Cedric Moonen5-May-06 2:32 
JokeRe: Simple Q Pin
toxcct5-May-06 2:37
toxcct5-May-06 2:37 
GeneralRe: Simple Q Pin
Cedric Moonen5-May-06 2:42
Cedric Moonen5-May-06 2:42 
GeneralRe: Simple Q Pin
Laxman Auti5-May-06 2:50
Laxman Auti5-May-06 2:50 
GeneralRe: Simple Q Pin
Cedric Moonen5-May-06 2:59
Cedric Moonen5-May-06 2:59 
GeneralRe: Simple Q Pin
Laxman Auti5-May-06 3:18
Laxman Auti5-May-06 3:18 
GeneralRe: Simple Q Pin
_AnsHUMAN_ 5-May-06 1:55
_AnsHUMAN_ 5-May-06 1:55 
GeneralRe: Simple Q Pin
Cedric Moonen5-May-06 2:00
Cedric Moonen5-May-06 2:00 
AnswerRe: Simple Q Pin
Naveen5-May-06 1:05
Naveen5-May-06 1:05 
QuestionThis pointer Pin
Anu_Bala5-May-06 0:31
Anu_Bala5-May-06 0:31 
AnswerRe: This pointer Pin
_AnsHUMAN_ 5-May-06 0:37
_AnsHUMAN_ 5-May-06 0:37 
AnswerRe: This pointer Pin
Nibu babu thomas5-May-06 0:38
Nibu babu thomas5-May-06 0:38 
AnswerRe: This pointer Pin
toxcct5-May-06 1:01
toxcct5-May-06 1:01 
QuestionHow to sort the rows of CListCtrl Pin
anilksingh5-May-06 0:28
anilksingh5-May-06 0:28 
AnswerRe: How to sort the rows of CListCtrl Pin
_AnsHUMAN_ 5-May-06 0:34
_AnsHUMAN_ 5-May-06 0:34 
GeneralRe: How to sort the rows of CListCtrl Pin
Naveen5-May-06 0:57
Naveen5-May-06 0:57 
AnswerRe: How to sort the rows of CListCtrl Pin
David Crow5-May-06 3:05
David Crow5-May-06 3:05 

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.