topendialog

is there a way to disable the hint for a TOpenDialog in delphi

i have a TOpenDialog component i am creating on runtime and i want to disable the hint that pops up over files when it is used. i have not written any exrta code for this than creating the object, executing the object and extracting the filename,, then freeing the instance. can i do what i want to do? if so how do i do this ...

What is the most common way to create a folder selection dialog using Delphi?

There doesn't appear to be a simple component available to create a folder selection dialog in Delphi 2009, although a file selection dialog is provided by way of the TOpenDialog. What is the most common way to create a modern folder selection dialog using Delphi? ...

TOpenDialog in Delphi - how to open only file with given name

User should open only "KLADR.DBF" file. I'm setting "Filter" property to "kladr.dbf" and dialog shows only required file, but in the same directory there are another ".DBF" file (STREET.DBF) and user can open it by typing it's name in "Filename:" edit box. How can I prevent this and let users select only required "KLADR.DBF" file?. Here...

Delphi 7 and Vista/Windows 7 common dialogs - events do not work

I'm trying to modify the Delphi 7 Dialogs.pas to access the newer Windows 7 Open/Save dialog boxes (see Creating Windows Vista Ready Applications with Delphi). I can display the dialogs using the suggested modifications; however, events such as OnFolderChange and OnCanClose no longer function. This appears to be related to changing t...

Custom preview for open dialog using Delphi

I need to preview several CAD formats in the file open dialog box in Windows 7 / Vista. In the past I used a Delphi Preview Open Dialog and I could register and implement the CAD format that I had to preview. I have found some articles on how to create a preview handler in Vista, this is unfortunately not going to work for me. What I wou...

How to set a sorting mode in Open Dialog

A user can manually sort files in a standard Windows Open Dialog (in "Details" view mode) by Name, Date or Size by clicking on the corresponding column header. How to set a sorting mode in Open Dialog (TOpenDialog class in Delphi) programmatically in application so that the dialog opens with a preferred sorting? ...

GetDir in Delphi2010 not working under Windows 7?

Hello! I have the following sequence of commands in Delphi2010: var netdir:string; .... OpenDialog1.InitialDir:=netdir; .... OpenDialog1.Execute... .... GetDir(0,netdir); .... After executing OpenDialog I should have in string netdir the directory where I finished my OpenDialog.Execute. And in the next OpenDialog.Exec...

Draw a "TPanel" in WINAPI?

Hello, I want to extend an open/save dialog with a "drop-box" which should look like a TPanel (bevel). The code is already there - I use CreateWindowEx() with WNDCLASS name "Edit". I have searched for a solution to draw a TPanel (resp. a beveled STATIC) with pure WinAPI, but did not found anything. MS Spy++ tells me that a TPanel has ...