When using the SHBrowseForFolder API, it does not display as modal.
Anyone know how to make it modal? When calling it from a dialog that is
modal produces 'Error 402: Must close or hide topmost modal form first.'

Also, to clarify, the error above only appears when running from an EXE, the
error does not appear in the IDE. In the IDE the Folders dialog appears but
it is not modal. And I am setting the hWndOwner member to the handle of the
parent form.

Not for sure but this seems to be the same dialog used by the PDW when
selecting a folder and it is modal.

Lonnie Thibodeaux
Q3 Technologies Inc