Click here to Skip to main content
15,887,917 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to display files and subfolders from particular folder in TreeControls Pin
Hamid_RT30-Aug-06 3:00
Hamid_RT30-Aug-06 3:00 
GeneralRe: How to display files and subfolders from particular folder in TreeControls Pin
CraZyToLearn30-Aug-06 19:10
CraZyToLearn30-Aug-06 19:10 
GeneralRe: How to display files and subfolders from particular folder in TreeControls Pin
Hamid_RT30-Aug-06 22:24
Hamid_RT30-Aug-06 22:24 
Questionhow to split a window Pin
Parshant Verma30-Aug-06 2:44
Parshant Verma30-Aug-06 2:44 
AnswerRe: how to split a window Pin
David Crow30-Aug-06 2:52
David Crow30-Aug-06 2:52 
AnswerRe: how to split a window [modified] Pin
_AnsHUMAN_ 30-Aug-06 2:53
_AnsHUMAN_ 30-Aug-06 2:53 
GeneralRe: how to split a window Pin
David Crow30-Aug-06 3:01
David Crow30-Aug-06 3:01 
AnswerRe: how to split a window Pin
Hamid_RT30-Aug-06 3:07
Hamid_RT30-Aug-06 3:07 
maybe it is some helpful to you
(1) search codeproject for splitter window
(2)
<br />
	BROWSEINFO bi;<br />
	TCHAR szDisplayName[MAX_PATH];<br />
	szDisplayName[0]='\0';<br />
	memset(&bi, 0x00, sizeof(bi));<br />
	bi.hwndOwner = this->m_hWnd;<br />
	bi.pszDisplayName = szDisplayName;<br />
	<br />
	bi.ulFlags = BIF_EDITBOX;<br />
	bi.lpszTitle=lpc;<br />
	LPITEMIDLIST pidl = SHBrowseForFolder(&bi);<br />
	if (pidl)<br />
		{<br />
		SHGetPathFromIDList(pidl, szDisplayName);<br />
	if(lstrlen(szDisplayName)>0)<br />
		return szDisplayName;<br />
	}<br />

(4)Set/GetCurrentDirectory();
(5)
WIN32_FIND_DATA find;<br />
HANDLE handle=FindFirstFile("*.*",&find);<br />
while(FindNextFile(handle,&find)!=0)<br />
if(find.cFileName==yourstring);<br />
     m_ListAddString(find.cFileName);<br />
FindClose(handle);<br />



WhiteSky


AnswerRe: how to split a window Pin
Programm3r30-Aug-06 4:48
Programm3r30-Aug-06 4:48 
GeneralRe: how to split a window Pin
Waldermort30-Aug-06 8:12
Waldermort30-Aug-06 8:12 
GeneralRe: how to split a window Pin
toxcct30-Aug-06 8:28
toxcct30-Aug-06 8:28 
QuestionCreating an array out of txt file Pin
wzq2gn30-Aug-06 2:41
wzq2gn30-Aug-06 2:41 
AnswerRe: Creating an array out of txt file Pin
Cedric Moonen30-Aug-06 2:53
Cedric Moonen30-Aug-06 2:53 
AnswerRe: Creating an array out of txt file Pin
Hamid_RT30-Aug-06 2:54
Hamid_RT30-Aug-06 2:54 
AnswerRe: Creating an array out of txt file Pin
David Crow30-Aug-06 2:56
David Crow30-Aug-06 2:56 
GeneralRe: Creating an array out of txt file Pin
wzq2gn30-Aug-06 3:15
wzq2gn30-Aug-06 3:15 
GeneralRe: Creating an array out of txt file Pin
David Crow30-Aug-06 3:24
David Crow30-Aug-06 3:24 
QuestionRe: Creating an array out of txt file Pin
Zac Howland30-Aug-06 3:31
Zac Howland30-Aug-06 3:31 
AnswerRe: Creating an array out of txt file Pin
Stephen Hewitt30-Aug-06 15:50
Stephen Hewitt30-Aug-06 15:50 
AnswerRe: Creating an array out of txt file Pin
wzq2gn31-Aug-06 1:14
wzq2gn31-Aug-06 1:14 
Questionhow to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy30-Aug-06 1:54
uday kiran janaswamy30-Aug-06 1:54 
AnswerRe: how to proceed with Notification of emails using Mapi. Pin
David Crow30-Aug-06 3:09
David Crow30-Aug-06 3:09 
QuestionPath to current folder Pin
kajkow30-Aug-06 1:05
kajkow30-Aug-06 1:05 
AnswerRe: Path to current folder Pin
Nibu babu thomas30-Aug-06 1:10
Nibu babu thomas30-Aug-06 1:10 
GeneralRe: Path to current folder Pin
Waldermort30-Aug-06 1:33
Waldermort30-Aug-06 1:33 

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.