ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TOpenImageEnDialog.OnCreateCustomControls

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jrpcguru Posted - Nov 03 2013 : 12:40:44
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.

J.R.
4   L A T E S T    R E P L I E S    (Newest First)
jrpcguru Posted - Dec 14 2013 : 20:34:52
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.

J.R.
xequte Posted - Nov 05 2013 : 11:54:20
Hi

The caption is localized for language support so we won't be able to change that. You would be best to add your own button.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jrpcguru Posted - Nov 05 2013 : 08:58:21
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?

J.R.
xequte Posted - Nov 03 2013 : 16:20:36
Hi

We'll have a fix for this in v5.0.1 (ready in the next week or so).

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com