Færdiggjort

Delphi function to move tray icon into visible area

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:

[url removed, login to view]

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).

Evner: Delphi, Windows API, Windows Skrivebord

Se mere: xe com, status icon, icon windows 10, icon microsoft, how to write vb, how to string, area icon, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

Om arbejdsgiveren:
( 8 bedømmelser ) Karlsruhe, Germany

Projekt ID: #10279956

Tildelt til:

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 på 1 dag
(77 bedømmelser)
6.8

6 freelancere byder i gennemsnit €106 på dette 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 dage
(464 bedømmelser)
6.6
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 Flere

€53 EUR in 2 dage
(59 bedømmelser)
6.5
ajoaosilva

Hi I have over 20 years of Delphi, since version 1, back in 1995. Some questions: - what you want the function to do is what you do by hand in the screenshot you sent, right? - the source link you posted may no Flere

€250 EUR in 5 dage
(8 bedømmelser)
3.4
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 Flere

€111 EUR in 3 dage
(2 bedømmelser)
2.6
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 dage
(2 bedømmelser)
3.1