get location of tray icon from windows registry - windows

How do I get the coordinates of a particular tray icon from the windows registry?
For instance, dropbox has a tray icon, how would I get the position of that icon?

Related

How to minimize Windows Store app to system tray?

I am not succeeding trying to minimize windows store app to system tray
For example trying to minimizing whatsapp application to system tray, Keeps it open in the taskbar while having icon in systemtray of whatsapp.
I want to fully move whatsapp to systemtray.

Is there a Windows API for getting the positions of the icons on the Desktop?

Is there an API or a database/settings file/registry for getting the positions of icons on the Desktop?
If you wonder why I want that, basically I want to create a replica of Desktop in my app for my personal use, so that I could access those icons, when multiple windows are open, without using the "Show Desktop" feature which minimises all windows. The problem of Window's "Show Desktop" is that if I opened a new window by clicking an icon on the desktop, performing "Show Desktop" again does not restore all minimised windows at once.
On macOS, I did not have this problem, because pinching-out with 4 fingers showed the desktop without minimising opened windows. It just temporarily moved them out of the screen, and pinching-in restored windows to their original states, even if I had opened a new window by clicking an icon on the desktop.
There are other ways to access those icons, without using "Show Desktop", like opening the Desktop location in File Explore, but then the icon locations are not the same as the Desktop, so it is difficult to find the item I want. Enabling multiple virtual Desktops, and switching to an empty Desktop to click the item is one way, but then it gets opened on that Desktop and I would have to move it to the other Desktop.

Where are Windows desktop icon positions stored?

Where does Windows 10 store the position of desktop icons? Are they in the registry somewhere?
By position I mean that when you drag them around and reboot they remain in the place you put them.

jumplist not showing up on the pinned icon (c++/cli - windows 7)

When i pin my app to the taskbar, I don't see the jumplist when the app is to running.
Jumplist: recently opened files that show up when you right click on a taskbar icon in windows 7.
When I run the app, a new taskbar icon opens, instead of the same icon. The jumplist shows up on the running icon, but not on the pinned icon.
Here are the things I have done..
SetCurrentProcessExplicitAppUserModelID
added the registry items for the file type.
Jumplist works fine when the app is running. Except that jumplist does not show up on the pinned icon.
My questions are:
how do I show the jumplist when the app is not running? or why is it not working? Is it a different registry entry?
Why is windows creating a new taskbar icon, instead of opening on the same pinned icon. (I don't change the AppUserModelID)?

Windows Mobile 6.5 Running Program List Icon

I've got an windows mobile 6.5 application I'm developing and am having trouble with one icon. At the top right hand of the screen there is an icon that, when clicked, will display a list of programs running the background with the option to close them.
When my program is in this list, it's icon does not show up as the others do.
I'm my exe I've got an .ico for 16x16, 22x22, 32x32, 36x36, 44x44, 45x45, 60x60, and 64x64, with the optional 90x90 png and registry setting in my cab.
What am I missing?
I'm just guessing here, but is this an HTC phone? Stock Windows Mobile does not have a "task list" icon in the system tray, so this task list is provided by the OEM. You would need to find out how they are obtaining the icon.
Chances are they are not obtaining it from the cab, but are actually getting it from your top level app window. You should check you're specifying the right icon in your WNDCLASS structure when calling RegisterClass. It is pretty common in WM to forget this because normally this icon is not visible.
Windows Embedded Handheld (Windows Mobile) 6.5/6.5.3 Appications use the exe embedded ico files only if there is no icon via registry available. In those cases the icon also look very ugly in the start menu. So you will have to add a registry entry to an icon file.
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\MyApp.lnk]
"Icon"="\Windows\myapp.png"
See also: https://blogs.windows.com/windowsexperience/2009/08/11/using-custom-icons-in-windows-mobile-6-5/

Resources