Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Oct : Expand node in 'Browse for folder' dialog

www.cryer.info
Managed Newsgroup Archive

Expand node in 'Browse for folder' dialog

Subject:Expand node in 'Browse for folder' dialog
Posted by:"Thomas" (tomschneid..@trash-mail.de)
Date:Fri, 19 Oct 2007 17:27:35

Hi all,

My 'Browse for folder dialog' is being created via 'SHBrowseForFolder' with
'pidlRoot' set to the Windows desktop. Then in the callback function
associated the 'My Computer' node is selected when the event
'BFFM_INITIALIZED' occurs. This works. The 'My Computer' node is collapsed.

Now I want to expand the 'My Computer' node via code (as if the user has
clicked on the '+' left-sided the node) so the children of that node are
displayed. How can this be done?

Thanks in advance,

Tom

Replies:

www.cryer.info
Managed Newsgroup Archive