Click here to Skip to main content
15,898,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: status bar problem Pin
Mohanraj D18-Jun-08 22:15
Mohanraj D18-Jun-08 22:15 
GeneralRe: status bar problem Pin
David Crow19-Jun-08 3:21
David Crow19-Jun-08 3:21 
QuestionDeleting the using reference Pin
vikramlinux5-Jun-08 19:16
vikramlinux5-Jun-08 19:16 
AnswerRe: Deleting the using reference Pin
Saurabh.Garg5-Jun-08 20:06
Saurabh.Garg5-Jun-08 20:06 
GeneralRe: Deleting the using reference Pin
vikramlinux5-Jun-08 20:39
vikramlinux5-Jun-08 20:39 
GeneralRe: Deleting the using reference Pin
Emilio Garavaglia5-Jun-08 21:13
Emilio Garavaglia5-Jun-08 21:13 
AnswerRe: Deleting the using reference Pin
Jijo.Raj5-Jun-08 21:43
Jijo.Raj5-Jun-08 21:43 
QuestionHow to save history in SHBrowseForFolder in MFC Pin
At_work5-Jun-08 18:53
At_work5-Jun-08 18:53 
M making a search application in that m using SHBrowseForFolder, while running the application, when we click on the BRowse button second time then i want the previous folder(which we selected when we pressed first time) should come as selected. But now Mycomputer is coming selected everytime i click the Browse button.

Please someone tell me how to do.

This is my current code

void CTestingDlg::OnBrowse() {		BROWSEINFO bi;	TCHAR szDir[MAX_PATH];    LPITEMIDLIST pidl;//=(LPITEMIDLIST)prev;	LPMALLOC pMalloc;			if (SUCCEEDED(SHGetMalloc(&pMalloc)))	{		ZeroMemory(&bi,sizeof(bi));		bi.hwndOwner = NULL;					bi.pszDisplayName = 0;			chk=1;			bi.pidlRoot = 0;		bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_STATUSTEXT | BIF_BROWSEINCLUDEFILES | BIF_EDITBOX | BIF_VALIDATE;				pidl = SHBrowseForFolder(&bi);		if (pidl)		{			if (SHGetPathFromIDList(pidl,szDir))			{ 				UpdateData(TRUE);				m_data = szDir;				UpdateData(FALSE);			}						pMalloc->Free(pidl);			pMalloc->Release();		}	}	   	}

AnswerRe: How to save history in SHBrowseForFolder in MFC Pin
rp_suman5-Jun-08 19:11
rp_suman5-Jun-08 19:11 
AnswerRe: How to save history in SHBrowseForFolder in MFC Pin
_AnsHUMAN_ 5-Jun-08 19:48
_AnsHUMAN_ 5-Jun-08 19:48 
QuestionKeyboard access on Button control. Pin
Le@rner5-Jun-08 18:47
Le@rner5-Jun-08 18:47 
AnswerRe: Keyboard access on Button control. Pin
rp_suman5-Jun-08 19:15
rp_suman5-Jun-08 19:15 
Questionwhy is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 18:43
Super Hornet5-Jun-08 18:43 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Saurabh.Garg5-Jun-08 18:57
Saurabh.Garg5-Jun-08 18:57 
QuestionRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 19:53
Super Hornet5-Jun-08 19:53 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Saurabh.Garg5-Jun-08 20:00
Saurabh.Garg5-Jun-08 20:00 
QuestionRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 20:10
Super Hornet5-Jun-08 20:10 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
SandipG 5-Jun-08 20:19
SandipG 5-Jun-08 20:19 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Dan5-Jun-08 20:21
Dan5-Jun-08 20:21 
Question[Message Deleted] Pin
Kwanalouie5-Jun-08 17:33
Kwanalouie5-Jun-08 17:33 
AnswerRe: Help with mouse coordinates [modified] Pin
Nibu babu thomas5-Jun-08 17:44
Nibu babu thomas5-Jun-08 17:44 
GeneralRe: Help with mouse coordinates Pin
Kwanalouie5-Jun-08 18:06
Kwanalouie5-Jun-08 18:06 
QuestionVS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
Kyle P5-Jun-08 10:33
Kyle P5-Jun-08 10:33 
AnswerRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
David Crow5-Jun-08 10:41
David Crow5-Jun-08 10:41 
GeneralRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
Kyle P5-Jun-08 16:50
Kyle P5-Jun-08 16:50 

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.