Best bet is to write your own FileOpenDialog and filter the files when the FileName of *.* is selected. The standard Opendialog is a wrapper for the Windows Common Control and cannot be extended to do this because there are no notifcation messages sent when the user enters anything in the FileName edit area.
> Wayne, > If they type (e.g.) *.* in the file name box, they get to see all files > and can then select anything. > I need to support a few (completely different) file types which are > processed in different ways, but I do not want to allow the user to pick > some rubbish instead. > Ken __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

