Archive: Select Folder Dialog loses Focus - workaround


Select Folder Dialog loses Focus - workaround
Hi there!

I have a diretory page defined in my installer with

!insertmacro MUI_PAGE_DIRECTORY

In my installer when I press the browse button for this directory a select directory opens with the focus on the directoy in the edit field. So far, so good. If I choose a new directory, press ok, and then press browse again, this directory selector doesn't have the proper focus.

Is there a way to tell this dialog where to put its focus? This would be useful for custom defined pages as well.

Thanks in advance,

Jim

PS Our testing department is WAY to thorough...


I assume you're talking about the selected directory in the browse dialog and the keyboard focus. If not, I can't reproduce your bug report. If so, submit a feature request on SourceForge. It happens because the browse directory doesn't select anything if the directory doesn't exist. A code should be added that'd set the selection to an existing parent of the new directory or display a selectable but non-existent folder.