Your help file documents how to add another control to the file dialog via this event. Using both Delphi 7 and Delphi XE2, I can create the sample control and it works correctly the first time I execute the dialog. After that I receive ImageEx error, System Error, Code : 1400, Invalid Window Handle.
I actually desire to add a button called 'Select All' and I have proven that my button works. But both my button and your sample code generate this error so I hope you can suggest a fix. Thanks.
Thanks for the prompt reply. I ended up hijacking the hidden AdvancedButton in the open dialog and re-purposing it for my needs. However there was an oddity. I could make it visible, change its OnClick, and change its location, but couldn't change its caption. Turns out your source code sets the caption after calling the OnCreateCustomControls event. I didn't see any obvious reason for that, so I wonder if your update could include that slight change?
I've just installed version 5.0.5 and am pleased to say it fixed the bug that prevented me from adding my own button to the common file dialog. Thank you.