Problem with OpenDialog component: ofEnableIncludeNotify property and IncludeItem event
Posted on 2004-09-01
How to make the event IncludeItem of TOpenDialog work?
I have set the ofEnableIncludeNotify property to true and written this code.......
procedure TForm1.OpenDialog1IncludeItem(const OFN: TOFNotifyEx;
var Include: Boolean);
However, still all files are displayed when I execute the OpenDialog. The above code does get trigerred for every file, but soemhow the Include variable has no effect.
I know it is a bug in Microsoft implementation, (plenty of websites on internet refer to this)........... but does anyone know of a work around?
I am using Delphi 7 on Windows XP. Application deployment would be on Windows 2000 & XP, XP SP1, XPSP2 machines.