Click here to Skip to main content
Click here to Skip to main content

CTrayIconPosition - where is my tray icon?

By , 10 Jul 2012
 
ctrayiconposition_demo.zip
TrayFinder.exe
ctrayiconposition_src.zip
res
blank1.ico
ico00018.ico
TrayFinder.ico
TrayFinder.dsp
TrayFinder.dsw
// TrayFinderDlg.h : header file
//

#if !defined(AFX_TRAYFINDERDLG_H__879D05C7_451A_11D7_B751_00304F20BD3B__INCLUDED_)
#define AFX_TRAYFINDERDLG_H__879D05C7_451A_11D7_B751_00304F20BD3B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TrayIconPosition.h"
/////////////////////////////////////////////////////////////////////////////
// CTrayFinderDlg dialog

class CTrayFinderDlg : public CDialog
{
// Construction
public:
	CTrayFinderDlg(CWnd* pParent = NULL);	// standard constructor
	CTrayIconPosition m_tipPosition;

// Dialog Data
	//{{AFX_DATA(CTrayFinderDlg)
	enum { IDD = IDD_TRAYFINDER_DIALOG };
	int		m_iTrackType;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTrayFinderDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTrayFinderDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAdd();
	afx_msg void OnDelete();
	afx_msg void OnDestroy();
	afx_msg void OnCalculate();
	afx_msg void OnIzsoft();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TRAYFINDERDLG_H__879D05C7_451A_11D7_B751_00304F20BD3B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of use 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)

About the Author

Irek Zielinski
Web Developer
United Kingdom United Kingdom
Member
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

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