Delphi function to move tray icon into visible area

Completado Publicado Apr 20, 2016 Pagado a la entrega
Completado Pagado a la entrega

I'd like to programmatically move the tray icon of my (or any other) application into the always visible area (or remove it from there).

Usually the tray icon is set to "Only show notifications". I'd like to change that to "Show icon and notifications" (see attached screenshot).

There doesn't seem to be an interface for this. But this doesn't mean that this is not possible.

The information seems to be stored in an encoded form in the registry: "Software\Microsoft\Windows\CurrentVersion\Explorer\TrayNotify"

Some people have already worked on that. Here's a possible VB solution:

[login to view URL]

Your task is to write a function that allows to reliably do this from my application.

Something like:

procedure MoveTrayIcon(exepath: String; position: Integer; status: TrayStatusShowHideNotify);

Requirements:

- Solution must be written in Delphi and needs to be compilable with Delphi XE

- Solution must be compatible with Windows 7, 10 and if possible XP

- The result must be exactly the same as if the user moved the icon manually (without rebooting).

Delphi API de Windows Windows Desktop

Nº del proyecto: #10279956

Sobre el proyecto

5 propuestas Proyecto remoto Activo Apr 21, 2016

Adjudicado a:

mdkass

***DEMO IS AVAILABLE*** Hello, I already made this function in Delphi, and BTW they are a bit 2 different functions one that works on Windows 7 or older and the other works on Windows 8 and later. Regards.

€30 EUR en 1 día
(78 comentarios)
6.8

5 freelancers están ofertando un promedio de €77 por este trabajo

vano101

Hello. I have large experience in converting code from one programming language to another programming language. What if I translate that VB sample into Delphi?

€42 EUR en 2 días
(594 comentarios)
7.2
igors233

Hi, I'm Delphi expert with years behind me in various areas. I've worked earlier on this problem and found a solution for Win7 (and I think Win 8), it was not tested on Win10, there is no official support for this in Más

€53 EUR en 2 días
(60 comentarios)
6.5
AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I would call myself a master of what I do, I do work smart and do not rest until I get the job done. Please feel free to pin Más

€111 EUR en 3 días
(4 comentarios)
4.7
FlyingMoon

Hello, client I have rich experiences in Delphi. now, I am using in RadStudioXE7. If you hire me, i can complete within 2~3days Thanks Best

€150 EUR en 3 días
(2 comentarios)
3.1