Delphi BorderIcons biMinimizeToTray

Hi!

In Delphi by Default I can choose from [biSystemMenu, biMinimize, biMaximize, biHelp] for BorderIcons.

I need additional Icon - MinimizeToTray.

I know how to add tray icon and how to minimize to tray ... i need an example how to add an icon on window caption bar so user can click on it.

Thanks!
DKropf3Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

thiagoblimeiraCommented:
Just install Jedi Free components

http://sourceforge.net/projects/jvcl/files/

And use the TJvCaptionButton component

There is a complete functional example in the jedi's example folder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thiagoblimeiraCommented:
Look the working example:
Tray.jpg
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

senadCommented:
Download the TCoolTrayIcon component from torry.net ...
0
DKropf3Author Commented:
thiagoblimeira:

"Just install Jedi Free components" ...  I installed Jedi and it works however,

i was reading license for Jedi Project and I must distribute source code of included Jedi components with my commercial product if i use them? ... i don't wish to do that so i must wait for a solution where no copyrights will be held ... Or didn't i understand right?
0
DKropf3Author Commented:
pramodbugudai: & senad:

I know how to Minimize to Tray ... I need this icon on Window's Caption (see picture)

minimizeToTray.bmp
0
thiagoblimeiraCommented:
You don't need to distribute the component's source with the application, you just misunderstood, the jedi set of components are really free
0
thiagoblimeiraCommented:
from jedi's website:

"JVCL's implementation of the MPL allows developers to use its code in their applications ("Larger Work") regardless of whether the intended distribution will be in the public domain or as commercial applications, as long as the licence conditions are met. For a more detailed explanation, an annotated version of the MPL is available."

0
Pramod BugudaiCommented:
Hi DKropf3. This is something like adding custom button to a Caption bar. To minimize to system tray you handle any where. What I mean is clicking minimize,maximize,and close button you can minimize to system tray. If it is your requirement than follow the link. You need to copy the code and paste it in pas file than register the pas file.

http://www.howtodothings.com/computers/a1273-add-a-button-to-the-caption-bar-of-your-form.html
0
Pramod BugudaiCommented:
0
JohnjcesCommented:
I believe that the Mozilla Public License (MPL) allows a link in an executable on where one can obtain the source code. The source code is not needed to be distributed with your work. In your about box or somewhere even in your documentation you need to mention that the JEDI Code Library is used and source code can be obtained from htt://www.jedi...  etc.

John
0
DKropf3Author Commented:
thiagoblimeira:

I think you suggested solution is far the best of all i tested. If what i have to do is add a link to Delphi Jedi project in About box this is not such a big deal ...

Well there is still small problem.

If you put TjvCaptionButton on a form ... in windows 7 you lose that transparent glassy efect around window? If you delete TjvCaptionButton ... effect comes back ...

hmmm ... how to solve that?

0
DKropf3Author Commented:
In JAN-2010 TJvCaptionButton disables "glass" effect around window in Windows 7 (maybe this will be solved in future)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.