CTrayIconPosition - where is my tray icon?
2016-08-23
0 0 0
no vote
Other
Earn points
Translated by maninwest@Codeforge Author:Irek Zielinski@CodeProject
Ever wanted to know position of your tray icon? Windows supplies no API for that. This class is a compact solution that works.
This compact class makes one impossible thing possible - it's able to detect position of tray icon of your application.Two ways to do it (2+)
Direct method: Seems to be perfect if end user do not use a different tray manager than the one that is installed with MS Windows.
This method was proposed by Neal Andrews and I ported it from VB (source code) to C++. The main idea behind this method is that system tray uses an ordinary toolbar control to display icons (if you don't believe me - check it out with Spy++ application). It's also an easy thing to find a handle of this control and ask it directly for the rectangle of our icon. There are two things that need to be implemented. First, we need to find a handle to toolbar control. It can be done by enum
jsp
Related Source Codes
Housekeeper code
0
0
no vote
Attractive interface JSP Web Albums Classic MVC fr
1
0
no vote
A JSP Forum source code
0
0
no vote
Jsp customer relationship management CRM system so
0
0
no vote
Jsp Forum source code
1
0
4.0
No comment