PTShellTree: how to set the root to initial folder

Got a problem you cannot solve? Try here.
Post Reply
stefanr
Posts: 6
Joined: Thu Sep 27, 2012 2:56 pm

PTShellTree: how to set the root to initial folder

Post by stefanr »

I've created a custom dialog with a PTShellTree control. Setting the initial folder also works fine.
Is it possible, that the initial start folder is the root folder.
The aim is, that the user can only choose a folder below the initial folder?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: PTShellTree: how to set the root to initial folder

Post by FrancescoT »

Der User,

you could set a different folder to start over as desktop (C:\Documents and Settings\username\Desktop).
Anyway, this will refer to the real path desktop path.

As alternative, I may suggest you to execute the folder selection using "Select Target Folder" action, with dialog control object behaviour.

For a sample, please refer to Win32 InstallAware project template.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply