Click here to Skip to main content
15,912,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: In case of MFC Pin
Shayna20-May-02 11:06
Shayna20-May-02 11:06 
GeneralRe: In case of MFC Pin
Abin20-May-02 13:55
Abin20-May-02 13:55 
GeneralPaths get mixed together when using shell functions... Pin
redeemer20-May-02 9:02
redeemer20-May-02 9:02 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 9:50
Alvaro Mendez20-May-02 9:50 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 10:12
redeemer20-May-02 10:12 
GeneralRe: Paths get mixed together when using shell functions... Pin
Alvaro Mendez20-May-02 10:55
Alvaro Mendez20-May-02 10:55 
GeneralRe: Paths get mixed together when using shell functions... Pin
redeemer20-May-02 11:11
redeemer20-May-02 11:11 
GeneralRe: Paths get mixed together when using shell functions... Pin
soptest20-May-02 11:43
soptest20-May-02 11:43 
Replace
SHGetPathFromIDList(pIdl, szFolderPath);
in while loop by
TCHAR pszDisplayName[MAX_PATH];
TCHAR szRes[MAX_PATH];
STRRET strDispName;

pBrowse->GetDisplayNameOf(pIdl, SHGDN_INFOLDER, &strDispName);
StrRetToBuf(&strDispName, pIdl, pszDisplayName, MAX_PATH);
PathCombine(szRes,szFolderPath,pszDisplayName);


result path is szRes

P.S. must inlcude "shlwapi.h" (shlwapi.lib for linker)

soptest
GeneralThreads & CPropertySheet Pin
pmarki20-May-02 8:18
pmarki20-May-02 8:18 
GeneralRe: Threads & CPropertySheet Pin
Bill Wilson20-May-02 8:23
Bill Wilson20-May-02 8:23 
GeneralRe: Threads & CPropertySheet Pin
pmarki20-May-02 8:46
pmarki20-May-02 8:46 
GeneralRe: Threads & CPropertySheet Pin
Prem Kumar20-May-02 9:16
Prem Kumar20-May-02 9:16 
Generalincluding img. into a project Pin
Fred D.20-May-02 8:24
Fred D.20-May-02 8:24 
GeneralRe: including img. into a project Pin
Chris Losinger20-May-02 8:24
professionalChris Losinger20-May-02 8:24 
GeneralWorker thread question Pin
RobJones20-May-02 8:23
RobJones20-May-02 8:23 
GeneralRe: Worker thread question Pin
Bill Wilson20-May-02 8:25
Bill Wilson20-May-02 8:25 
GeneralRe: Worker thread question Pin
Prem Kumar20-May-02 8:31
Prem Kumar20-May-02 8:31 
GeneralControl Colors Pin
Mike Doner20-May-02 8:08
Mike Doner20-May-02 8:08 
GeneralRe: Control Colors Pin
Shog920-May-02 13:38
sitebuilderShog920-May-02 13:38 
GeneralCan't get ios::binary mode to work Pin
JohnnyG20-May-02 7:36
JohnnyG20-May-02 7:36 
GeneralRe: Can't get ios::binary mode to work Pin
Joaquín M López Muñoz20-May-02 10:11
Joaquín M López Muñoz20-May-02 10:11 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:09
JohnnyG20-May-02 11:09 
GeneralRe: Can't get ios::binary mode to work Pin
Chris Losinger20-May-02 11:18
professionalChris Losinger20-May-02 11:18 
GeneralRe: Can't get ios::binary mode to work Pin
Ernest Laurentin20-May-02 11:51
Ernest Laurentin20-May-02 11:51 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:16
JohnnyG20-May-02 11:16 

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.