Link to home
Start Free TrialLog in
Avatar of borgo
borgo

asked on

A button on the Caption

Hi Expert.
How Can I draw a button on the caption of my app ?
I'd like to draw the botton with the same size of the close window button (the one on the top right corner.
Regards.
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of inthe
inthe

BTW.
>>> bmap.LoadFromFile('c:\help.bmp');

that line is for a glyph.
Interesting  :o)
yep found some neat windows programming tip sites and got loads o sources for interesting stuff :-)
Ain't that form Delumpa's website? ;-))

He's got some neat tricks there...
hehe
good guess viktor :o)
hehe :)
I have a freeware component (downloaded from the web sometime ago) which  make things easier. Let me know if you are interested - I will find out the website for you or send you the component if you like
Avatar of borgo

ASKER

Hi kjteng
my email is borgo@indi.it
Thanks

Hi Inthe thank you very much for your help. I'll try your code as soon as possible.


Avatar of kretzschmar
hi borgo,

take a look to this freeware
http://www.torry.ru/vcl/buttons/captbtn.zip

meikl
mm...everyone advising components so it seems my turn

http://www.infa.ru/black/ralib.htm

for the great ralib ,many of the more unusual components together in a component package including the RACaptionButton...
bi_lib has a great component to add a button on the caption bar..

http://www.b-ischo.horizont-is.net/coding.htm
Sent
The file was downloaded from
http://www.angen.net/~xacker/delphi.shtml

It is standalone and only about 10K (*.pas)
Avatar of borgo

ASKER

Thank you very much to all of you who have halped me.

Regards.

Andrea.

hm.. 'Andrea' ..   are you female ?
Avatar of borgo

ASKER

:-) why ?

I'm sorry but I'm male.
In Italy Andrea is a male name, it becomes from Greek and it means "man".
Even I'm a guy I hope you will continue to help me to learn Delph :-)

Bye bye.
 
sure.. =)

hmm... isn't there any girl programmer ??? is it so hard to find ?

sounds exciting that there's a girl using delphi and programming and etc..

doesn't it ?

Gwena is a girl :)
cool ! .. how old is she ? where from ?
I think she is about 17-18 years old :)) Just like me ;) and you? damn.. ;)) but i'm not exactly sure.. here is her profile..

https://www.experts-exchange.com/bin/ShowUser?login=Gwena

;)

..-=ViKtOr=-..


I'm 19 =)
yes she's a girl...

http://www.gurlpages.com/computer/gwena/

there is a picture of her.. she's pretty nice :)
hey bryan7 try here :

http://www.lhc.lg.ua/index.html
ROFLOL
aha, now there is something for Bryan to look at  :))
you've get me wrong..  I have my nice girlfriend yet.. don't need that stuff :)
sorry Bryan, do you want me to tell her or are you willing to stand up to her and tell her the truth? :)
?  ???