ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEFolderTree1.SelectSpecialFolder

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jrpcguru Posted - Jan 08 2022 : 19:39:08
I stumbled on this option in the help file and thought it might be nice to have menu options for various special folders.

IEFolderMView.ShowHiddenFiles := true;
IEFolderMView.EnableSpecialFolders := True;

IEFolderTree1.SelectSpecialFolder( iepdRecycleBin ); nothing happens
I could not get SelectSpecialFolder to actually select the desired folder with most values as follows:

iepdDesktop nothing happens
iepdDesktopFolder - displayed desktop
iepdDrives - displayed This PC
iepdNetwork - nothing happens
iepdDocuments - goes to This PC
iepdPictures - goes to This PC
iepdVideo - goes to This PC
iepdMusic - goes to This PC
iepdProgramFiles - goes to ..Users\{user name}
iepdAppData - goes to ..Users\{user name}
iepdLocalAppData goes to ..Users\{user name}
iepdStartMenu - goes to ..Users\{user name}
iepdStartUp- goes to ..Users\{user name}
iepdFavorites - goes to This PC

At first I thought the problem might be caused by my computer having My Documents redirected to my D: drive. But I have tested the program on two other stock Win 10 computers with the same result.

I modified the demo program and tried a few of these options with the same result.
Fortunately the IEFolderTree has no problem navigating to the desired folders via the mouse.


J.R.
4   L A T E S T    R E P L I E S    (Newest First)
jrpcguru Posted - Jan 17 2022 : 11:17:18
Thank you for the clarification. I don't know how I missed ViewTypes when I was searching the help file. Must have been tired!

Now I get to test all the interesting options. No rest for the wicked!

J.R.
xequte Posted - Jan 16 2022 : 22:02:03
Hi JR

Please add ievtHiddenFolders to ViewTypes:

https://www.imageen.com/help/TIEFolderTree.ViewTypes.html

Nigel
Xequte Software
www.imageen.com
jrpcguru Posted - Jan 16 2022 : 15:15:29
I just noticed an extra detail which might be relevant to this issue. With:
IEFolderMView.ShowHiddenFiles := true;

The IEFolderMView can navigate to folders and files that are usually hidden, such as C:\Users\{username}\AppData\Roaming

But IEFolderTree does not follow and show the hidden folder. I find no IEFolderTree property that matches ShowHiddenFiles.

This may be why IEFolderTree refuses to show \ProgramFiles. I tried to obtain ProgramFiles from environment variables or via GetSpecialFolderPath(CSIDL_PROGRAM_FILES ) or via SelectSpecialFolder( iepdProgramFiles ). The correct folder is obtained but IEFolderTree just won't display them, unless I navigate to the folder. The same thing happens with the ProgramData, APPDATA and LOCALAPPDATA folder. IEFolderTree does display C:\Program Files (x86)

J.R.
xequte Posted - Jan 09 2022 : 19:43:02
Hi JR

Some Windows changes have affected this, but you can email me for an update that is much improved.

Nigel
Xequte Software
www.imageen.com