Hello, [EMAIL PROTECTED]

There are several request about OnTypeChange event implementation for
TOpenDialog/TSaveDialog (e.g. report 619, 8349).

This patch implements this feature for win32, gtk1 and gtk2
widgetsets.

I ask you to review this patch, especially win32 part. I've made some
restructuring of ShowFileDialog function
(interfaces/win32/win32wsdialogs.pp).
I've splitted it into 3 parts (as it was suggested in TWSCommonDialog):
- CreateHandle - returns pointer to OPENFILENAME struct,
- ShowModal - calls apropriate windows dialog function with OPENFILENAME struct
- DestroyHandle - destroys OPENFILENAME struct

Ofcource, LPOPENFILENAME is not handle, but there is no handle at all
for windows dialogs.

If there will be no remarks for this mail, I'll apply this patch.

-- 
Best regargs,
  Paul Ishenin                           mailto:[EMAIL PROTECTED]

Attachment: TypeChange.patch
Description: Binary data

Reply via email to