Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

CTrayIconPosition - where is my tray icon?

, 10 Jul 2012 CPOL
Ever wanted to know position of your tray icon? Windows supplies no API for that. This class is a compact solution that works.
ctrayiconposition_demo.zip
TrayFinder.exe
ctrayiconposition_src.zip
res
TrayFinder.ico
blank1.ico
ico00018.ico
TrayFinder.dsp
TrayFinder.dsw
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by TrayFinder.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_TRAYFINDER_DIALOG           102
#define IDR_MAINFRAME                   128
#define IDC_ADD                         1000
#define IDC_DELETE                      1001
#define IDC_CALCULATE                   1002
#define IDC_IZSOFT                      1003
#define IDC_RADIO1                      1004
#define IDC_RADIO2                      1005
#define IDC_RADIO3                      1006
#define IDI_BLANK_BLACK                 8043
#define IDI_TRAY_HELPER                 8044

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1005
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Irek Zielinski
Web Developer
United Kingdom United Kingdom
Irek works as a C++ senior software developer.
He runs also his own small shareware bussines (He is author of few quite popular applications like: Tray Helper or Time Adjuster).
 
Occasionaly he posts articles to Codeguru or Codeproject. Besides C++ he likes motorcycles and paragliding.
Check out his software at: http://www.ireksoftware.com

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150129.1 | Last Updated 10 Jul 2012
Article Copyright 2003 by Irek Zielinski
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid