PDA

View Full Version : network locations dialog



Mariapr
08-03-2004, 06:53 AM
hi, I have the following problem:
I have a dialog where a user is asked to choose destination folder for admin installation.
I have an Edit control, to which a direct property USERTARGETDIR is assigned.
I also have the Browse button which calls a custom action.
Custom Action is a fnction stored in a dll (binary table), which, in turn, calls a SHBrowseForFolderW dialog and then sets the USERTARGETDIR property.
If I don't touch the Edit control, everything works properly.
But if I edit the text in the Edit control manually (or delete it), and THEN clicK the Brouwse button - the Edit control does not show the folder I actually selected.

what could be the reason?

now it is a very important problem form me, and the help will be highly appreciated....