Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralXP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 1:13
ohadp29-Mar-04 1:13 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 4:52
Antti Keskinen29-Mar-04 4:52 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 4:54
ohadp29-Mar-04 4:54 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 5:32
Antti Keskinen29-Mar-04 5:32 
GeneralFileDialog with the Favourites control on left Pin
andrewtruckle28-Mar-04 23:41
andrewtruckle28-Mar-04 23:41 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 3:16
David Crow29-Mar-04 3:16 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 3:55
andrewtruckle29-Mar-04 3:55 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:03
David Crow29-Mar-04 4:03 
andrew.truckle@atkinsglobal.com wrote:
I have tried this code below, and it does indeed show a control on the left. But for some reason it still doesn't list "Favourites" as one of the choices.

Does the Places Bar normally contain the Favorites folder? A little research indicates it's not normally there, but it can be added with a registry tweak. In the following registry key, which doesn't exist by default:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\PlacesBar

you can specify up to five folders. Each folder is identified by an entry called Place0, Place1, and so forth, up to Place4. The value of these entries can be either a fully qualified path name or a CSIDL value that identifies a special folder independent of the particular machine. If you want to specify an absolute file system path, create a REG_SZ, or REG_EXPAND_SZ, entry. If you plan to use a CSIDL, then a REG_DWORD entry is mandatory. CSIDL values are defined in shlobj.h. Make sure you get the one that ships with the latest Platform SDK if you want the new IDs specific to Windows 2000.

andrew.truckle@atkinsglobal.com wrote:
Also, it means I loose all the benfits that were in the CFileDialog class. It seems like I am trying to re-invent the wheel here..

This is a "bug" with CFileDialog in that it uses a hook, thus preventing the Places Bar from showing up. It's a well documented issue.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 4:10
andrewtruckle29-Mar-04 4:10 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:22
David Crow29-Mar-04 4:22 
GeneralBluetooth reconnection problems Pin
Julius Cesar28-Mar-04 23:23
Julius Cesar28-Mar-04 23:23 
QuestionGetCalendarInfo ? Pin
Thomas Andersen28-Mar-04 22:30
Thomas Andersen28-Mar-04 22:30 
AnswerRe: GetCalendarInfo ? Pin
Antony M Kancidrowski29-Mar-04 2:14
Antony M Kancidrowski29-Mar-04 2:14 
AnswerRe: GetCalendarInfo ? Pin
Phil J Pearson29-Mar-04 3:02
Phil J Pearson29-Mar-04 3:02 
GeneralRe: GetCalendarInfo ? Pin
Thomas Andersen29-Mar-04 18:10
Thomas Andersen29-Mar-04 18:10 
GeneralUnused scan codes Pin
Julius Cesar28-Mar-04 22:20
Julius Cesar28-Mar-04 22:20 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 0:06
Antti Keskinen29-Mar-04 0:06 
GeneralRe: Unused scan codes Pin
Julius Cesar29-Mar-04 2:23
Julius Cesar29-Mar-04 2:23 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 5:29
Antti Keskinen29-Mar-04 5:29 
GeneralIsFieldNull Pin
Member 87969028-Mar-04 22:16
Member 87969028-Mar-04 22:16 
GeneralFocus problem in FormView Pin
Raghunandan S28-Mar-04 22:08
Raghunandan S28-Mar-04 22:08 
GeneralCFileDialog modification Pin
Haakon S.28-Mar-04 22:04
Haakon S.28-Mar-04 22:04 
GeneralRe: CFileDialog modification Pin
22491728-Mar-04 22:32
22491728-Mar-04 22:32 
QuestionHow to remove an ActiveX from a project ? Pin
Cedric Moonen28-Mar-04 21:33
Cedric Moonen28-Mar-04 21:33 
GeneralModel Railway Computer Control Pin
Ger Hayden28-Mar-04 21:31
Ger Hayden28-Mar-04 21:31 

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.