Recent

Author Topic: Minimising to taskbar  (Read 4472 times)

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Minimising to taskbar
« on: May 10, 2011, 11:48:15 pm »
Hey. I'm sure you've all heard this before but I'd like to minimise my software to a taskbar icon. I've read tutorials about it but they seem to be Windows-only and talk about handles, which I don't quite understand, being a Pascal newb.
Could someone please explain how to minimise to taskbar in Windows and Linux as simply as they can or point me in the direction of a clearer tutorial? Thanks.
PS. I HAVE Googled.
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2706
Re: Minimising to taskbar
« Reply #1 on: May 11, 2011, 12:37:46 am »
See WIKI (found by google)

You need 2 steps.
- Minimizing
- Show in systray

For the latter you can use the TrayIcon, for the first I guess you can set the property ShowOnTaskbar to false when minimized.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
Re: Minimising to taskbar
« Reply #2 on: May 11, 2011, 05:11:56 am »
Application does not show a taskbar item when all forms are invisible. So you can hide your forms on application minimize and show a trayicon to achieve the desired effect.

 

TinyPortal © 2005-2018