BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding button to TOpenDialog.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Cactus
Guest





PostPosted: Sat Nov 22, 2003 9:05 am    Post subject: Adding button to TOpenDialog. Reply with quote



........ the online help said "no way".
but i just want to adding a function to the dialog box, to renaming files.


Back to top
Maris Janis Vasilevskis
Guest





PostPosted: Sat Nov 22, 2003 3:25 pm    Post subject: Re: Adding button to TOpenDialog. Reply with quote



TOpenDialog ends with a call of MS GetOpenFileName.
You can call it directly and play with template and hook procedure.
Or, you can do the same in your TOpenDialog descendant.

By why, in your case?
You can rename anything in the dialog window from right mouse button,
or with a slow double click.

Mahris

Cactus wrote:

Quote:
....... the online help said "no way".
but i just want to adding a function to the dialog box, to renaming files.




Back to top
Timothy H. Buchman
Guest





PostPosted: Sat Nov 22, 2003 3:44 pm    Post subject: Re: Adding button to TOpenDialog. Reply with quote



"Cactus" <a@b.com> wrote

Quote:
....... the online help said "no way".
but i just want to adding a function to the dialog box, to renaming
files.


Maris is quite right, but here are some solutions and examples:
http://home.att.net/~secondcut/bcbexam.htm

--
Timothy H. Buchman
========================================
City Center Theater, New York NY
mail address tbuchmanPLEASE(at sign)REMOVEcitycenterD O Torg
Search .borland message archive on http://www.tamaracka.com/search.htm


Back to top
Cactus
Guest





PostPosted: Sun Nov 23, 2003 4:52 am    Post subject: Re: Adding button to TOpenDialog. Reply with quote

Quote:
By why, in your case?
You can rename anything in the dialog window from right mouse button,
or with a slow double click.

I said renaming files.
to select multi-files give them a unite name.
for example: prefix + number + extend name

the function adding to TOpenDialog, no with a button.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.