Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: question about classes without data Pin
Prakash Nadar7-Jan-06 22:31
Prakash Nadar7-Jan-06 22:31 
GeneralRe: question about classes without data Pin
vikas amin7-Jan-06 23:02
vikas amin7-Jan-06 23:02 
AnswerRe: question about classes without data Pin
Prakash Nadar7-Jan-06 22:32
Prakash Nadar7-Jan-06 22:32 
QuestionBFFM_SETSELECTION question Pin
nm_1147-Jan-06 19:51
nm_1147-Jan-06 19:51 
AnswerRe: BFFM_SETSELECTION question Pin
Prakash Nadar7-Jan-06 21:16
Prakash Nadar7-Jan-06 21:16 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 6:28
nm_1148-Jan-06 6:28 
GeneralRe: BFFM_SETSELECTION question Pin
Prakash Nadar8-Jan-06 14:58
Prakash Nadar8-Jan-06 14:58 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 17:01
nm_1148-Jan-06 17:01 
if you uncomment the commented out lines it works fine in unicode builds but not ansi. it's being converted to unicode ok because OutputDebugStringW prints what it's supposed to.

int CALLBACK BrowseCallbackProc_SetInitFolder(HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
{
	if (uMsg == BFFM_INITIALIZED)
	{
//#ifdef UNICODE
		SendMessage(hWnd, BFFM_SETSELECTION, TRUE, lpData);
//#else
//		WCHAR sz[MAX_PATH];
//		MultiByteToWideChar(CP_ACP, 0, (LPTSTR)lpData, -1, sz, MAX_PATH);
//		OutputDebugStringW(sz);
//		SendMessage(hWnd, BFFM_SETSELECTION, TRUE, (LPARAM)sz);
//#endif
	}
	return 0;
}

GeneralRe: BFFM_SETSELECTION question Pin
Prakash Nadar8-Jan-06 17:36
Prakash Nadar8-Jan-06 17:36 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 18:40
nm_1148-Jan-06 18:40 
Questionquestions about pointers Pin
neodeaths7-Jan-06 19:28
neodeaths7-Jan-06 19:28 
AnswerRe: questions about pointers Pin
Prakash Nadar7-Jan-06 20:58
Prakash Nadar7-Jan-06 20:58 
AnswerRe: questions about pointers Pin
vikas amin7-Jan-06 21:52
vikas amin7-Jan-06 21:52 
GeneralRe: questions about pointers Pin
Prakash Nadar7-Jan-06 22:01
Prakash Nadar7-Jan-06 22:01 
QuestionWhy the application could not run at Windows XP? Pin
rushing7-Jan-06 17:22
rushing7-Jan-06 17:22 
AnswerRe: Why the application could not run at Windows XP? Pin
Prakash Nadar7-Jan-06 21:44
Prakash Nadar7-Jan-06 21:44 
QuestionGDI+ Visual C++ wrapper class operators missing? Pin
bob169727-Jan-06 15:03
bob169727-Jan-06 15:03 
Questionask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 13:51
Pierre,Hsieh7-Jan-06 13:51 
AnswerRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 14:02
professionalPJ Arends7-Jan-06 14:02 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 14:14
Pierre,Hsieh7-Jan-06 14:14 
GeneralRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 14:44
professionalPJ Arends7-Jan-06 14:44 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 15:03
Pierre,Hsieh7-Jan-06 15:03 
QuestionRe: ask one question in VC .NET Pin
David Crow7-Jan-06 17:15
David Crow7-Jan-06 17:15 
QuestionSimulating mouse clicks Pin
Still learning how to code7-Jan-06 11:46
Still learning how to code7-Jan-06 11:46 
AnswerRe: Simulating mouse clicks Pin
vipinasda7-Jan-06 12:04
vipinasda7-Jan-06 12:04 

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.