Click here to Skip to main content
15,911,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use and link Clapack in visual c++ Pin
tttyip21-Jan-05 4:18
tttyip21-Jan-05 4:18 
AnswerRe: How to use and link Clapack in visual c++ Pin
Ravi Bhavnani21-Jan-05 5:34
professionalRavi Bhavnani21-Jan-05 5:34 
GeneralSetting Background Colour of a text Pin
Pazzuzu21-Jan-05 4:14
Pazzuzu21-Jan-05 4:14 
GeneralRe: Setting Background Colour of a text Pin
Antony M Kancidrowski21-Jan-05 4:51
Antony M Kancidrowski21-Jan-05 4:51 
GeneralFolder List Pin
act_x21-Jan-05 3:55
act_x21-Jan-05 3:55 
GeneralRe: Folder List Pin
Maximilien21-Jan-05 4:38
Maximilien21-Jan-05 4:38 
GeneralRe: Folder List Pin
act_x21-Jan-05 5:25
act_x21-Jan-05 5:25 
GeneralRe: Folder List Pin
wb21-Jan-05 7:06
wb21-Jan-05 7:06 
I found something like this,
and it works for me...
CoInitialize(0);
   BROWSEINFO bi;
   char cc[MAX_PATH];
   bi.hwndOwner=m_hWnd;
   bi.pidlRoot=0;
   bi.pszDisplayName=cc;
   bi.lpszTitle="";
   bi.ulFlags =0;
   bi.lpfn =0;
   bi.iImage=0;
   
   LPITEMIDLIST p;
   p=SHBrowseForFolder(&bi);

   if(!p)
      return;

   SHGetPathFromIDList(p,cc);

   SetDlgItemText(IDC_E_PATH,cc);

   IMalloc *pm;
   SHGetMalloc(&pm);   
   pm->Free(p);	

GeneralRe: Folder List Pin
Anonymous21-Jan-05 8:05
Anonymous21-Jan-05 8:05 
GeneralRe: Folder List Pin
David Crow21-Jan-05 10:02
David Crow21-Jan-05 10:02 
General[Q] Updating an control inside other control handler problem... Pin
rbid21-Jan-05 3:31
rbid21-Jan-05 3:31 
QuestionHow to create nested directories? Pin
Monisankar21-Jan-05 3:04
Monisankar21-Jan-05 3:04 
AnswerRe: How to create nested directories? Pin
Chris Losinger21-Jan-05 3:23
professionalChris Losinger21-Jan-05 3:23 
GeneralCapturing Screen shots from a Dll Pin
mcsherry21-Jan-05 2:34
mcsherry21-Jan-05 2:34 
GeneralRe: Capturing Screen shots from a Dll Pin
mcsherry21-Jan-05 4:11
mcsherry21-Jan-05 4:11 
GeneralRe: Capturing Screen shots from a Dll Pin
Antony M Kancidrowski21-Jan-05 4:43
Antony M Kancidrowski21-Jan-05 4:43 
QuestionProtect against Spy-Software? Pin
FreewareFire21-Jan-05 2:13
FreewareFire21-Jan-05 2:13 
AnswerRe: Protect against Spy-Software? Pin
Antony M Kancidrowski21-Jan-05 4:33
Antony M Kancidrowski21-Jan-05 4:33 
GeneralRe: Protect against Spy-Software? Pin
FreewareFire21-Jan-05 5:56
FreewareFire21-Jan-05 5:56 
GeneralList all registry values in a key Pin
jonavon blakly21-Jan-05 1:55
jonavon blakly21-Jan-05 1:55 
GeneralRe: List all registry values in a key Pin
Antony M Kancidrowski21-Jan-05 4:40
Antony M Kancidrowski21-Jan-05 4:40 
QuestionRead the files or folders of a text file and display their icons? Pin
lillah21-Jan-05 0:24
lillah21-Jan-05 0:24 
AnswerRe: Read the files or folders of a text file and display their icons? Pin
David Crow21-Jan-05 10:12
David Crow21-Jan-05 10:12 
GeneralRe: Read the files or folders of a text file and display their icons? Pin
lillah21-Jan-05 12:34
lillah21-Jan-05 12:34 
GeneralCString to std::string Pin
Patrik Mueller21-Jan-05 0:10
Patrik Mueller21-Jan-05 0:10 

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.