FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
System Tray
System Tray
Débuté par Marius van der Walt, 30 nov. 2004 12:30 - 5 réponses
Connectez-vous…
Marius van der Walt
#1
Posté le 30 novembre 2004 - 12:30
Hi Everyone
I would like to move my app to the system tray.
I know that there is a cSystray class available but WD8 recons it is too old when the program is run.
There are commands to place an Icon in the system tray, but I don't know how to remove the app from the TASKBAR.
Any help will be appreciated
Regards
Marius
Signaler
0
0
Raimund Schuldhaus
#2
Posté le 30 novembre 2004 - 14:03
Hello Marius,
it's very simple, set the window property "Hidden" to true.
Best regards
Raimund
Hi Everyone
I would like to move my app to the system tray.
I know that there is a cSystray class available but WD8 recons it is too old when the program is run.
There are commands to place an Icon in the system tray, but I don't know how to remove the app from the TASKBAR.
Any help will be appreciated
Regards
Marius
http://www.invitec.com
Signaler
0
0
Marius van der Walt
#3
Posté le 30 novembre 2004 - 14:37
Hi Raimund
Thank you. The correct code to remove application is:
WindowName..Visible=False
Regards
Marius
Hello Marius,
it's very simple, set the window property "Hidden" to true.
Best regards
Raimund
Hi Everyone
I would like to move my app to the system tray.
I know that there is a cSystray class available but WD8 recons it is too old when the program is run.
There are commands to place an Icon in the system tray, but I don't know how to remove the app from the TASKBAR.
Any help will be appreciated
Regards
Marius
Signaler
0
0
Scott
#4
Posté le 02 décembre 2007 - 20:37
Hello all,
DISCLAIMER: Total newb to windev
I searched the forum / web and did not find anything.
I have an app minimized to the sys tray and have a popup menu working on right click, but am trying to open the minimized window on double click. Does anybody know how to trigger double click when the icon is in sys tray please?
Thanks in advance
Scott
<<<>>> My code
// Manage TaskBar Icons
// Minimized WinSize=1
IF WinSize (MyWindow) = 1 THEN
SysIconAdd("C:\My Projects\sbp_files\paragon.ico", MENU_PopupMenu2, "I am minimized")
WIN_Main..State=Invisible
ELSE
SysIconDelete()
WIN_Main..State=Active
END
Signaler
0
0
Christoph Erdmann
#5
Posté le 04 décembre 2007 - 20:29
Hi Scott,
define in Global Declaration :
CONSTANT
WM_LBUTTONDBLCLIK = 515
END
The last parameter in SysIconAdd(...) is the name of a procedure.
Write in this procedure :
Procedure name_of_the_prcedure(tx)
IF tx = WM_LBUTTONDBLCLIK THEN WinStatus(name_of_the_window,Active)
Christoph
>Hello all,
DISCLAIMER: Total newb to windev
>I searched the forum / web and did not find anything.
I have an app minimized to the sys tray and have a popup menu working on right click, but am trying to open the minimized window on double click. Does anybody know how to trigger double click when the icon is in sys tray please?
>Thanks in advance
Scott
><<<>>> My code
// Manage TaskBar Icons
>// Minimized WinSize=1
IF WinSize (MyWindow) = 1 THEN
> SysIconAdd("C:\My Projects\sbp_files\paragon.ico", MENU_PopupMenu2, "I am minimized")
WIN_Main..State=Invisible
>ELSE
SysIconDelete()
> WIN_Main..State=Active
END
Signaler
0
0
Scott
#6
Posté le 07 décembre 2007 - 16:45
Christoph,
Perfect that worked great thanks !
Scott
>Hi Scott,
define in Global Declaration :
>CONSTANT
WM_LBUTTONDBLCLIK = 515
>END
The last parameter in SysIconAdd(...) is the name of a procedure.
>Write in this procedure :
Procedure name_of_the_prcedure(tx)
>IF tx = WM_LBUTTONDBLCLIK THEN WinStatus(name_of_the_window,Active)
Christoph
>>Hello all,
DISCLAIMER: Total newb to windev
>>I searched the forum / web and did not find anything.
I have an app minimized to the sys tray and have a popup menu working on right click, but am trying to open the minimized window on double click. Does anybody know how to trigger double click when the icon is in sys tray please?
>>Thanks in advance
Scott
>><<<>>> My code
// Manage TaskBar Icons
>>// Minimized WinSize=1
IF WinSize (MyWindow) = 1 THEN
>> SysIconAdd("C:\My Projects\sbp_files\paragon.ico", MENU_PopupMenu2, "I am minimized")
WIN_Main..State=Invisible
>>ELSE
SysIconDelete()
>> WIN_Main..State=Active
END
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte