SHBrowseForFolder
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
> Anybody knows how to solve this problem? The easiest way to solve this problem is to go to Go here. There might be some solution posted here.
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
Please ask this in the Visual C++ forum. Thx, Jon Sagara There is no spoon. Best Miniputt score: 21 Sonork ID: 100.9999 jonsagara
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
You can set the default direcory in a Callback function. bi.lpfn=CArkivData::CallBack; il=SHBrowseForFolder( &bi); ... int CArkivData::CallBack(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData) { switch(uMsg) { case BFFM_INITIALIZED: { ::SendMessage(hwnd,BFFM_SETSELECTION,...
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
I remember having the same problem, but intermittently depending on the installed System. If I remember correctly, this is a defect that has been fixed when installing IE 6.x Best Regards,
-
Hi all! Working with win32 api I faced a problem to preset starting directory when I use SHBrowseForFolder function. Whatever I did this function started browsing from its default location. So every time I call this function it goes to MyComputer instead of the directory I want to start from. Anybody knows how to solve this problem? Thanks in advance, Vlad.:confused:
Try calling SHBrowseForCorrectForum. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?! - Jon Hulatt, 22/3/2002