Delphi function to move tray icon into visible area

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

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 Windows API Windows Desktop

Project ID: #10279956

About the project

5 proposals Remote project Active 7 years ago

Awarded to:

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 in 1 day
(78 Reviews)
6.8

5 freelancers are bidding on average €77 for this job

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 in 2 days
(594 Reviews)
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 More

€53 EUR in 2 days
(60 Reviews)
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 More

€111 EUR in 3 days
(4 Reviews)
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 in 3 days
(2 Reviews)
3.1