Click here to Skip to main content
12,251,332 members (35,788 online)
Click here to Skip to main content

Stats

516.3K views
16.3K downloads
325 bookmarked
Posted

Taskbar Notification dialog

, 11 Jul 2002
A MSN IM-style popup notification dialog
// TaskBarNotifierDemoDlg.h : header file
//

#pragma once
#include "afxwin.h"
#include "TaskbarNotifier.h"


// CTaskBarNotifierDemoDlg dialog
class CTaskBarNotifierDemoDlg : public CDialog
{
// Construction
public:
	CTaskBarNotifierDemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_TASKBARNOTIFIERDEMO_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;
	CEdit m_wndEdit;
	CTaskbarNotifier m_wndTaskbarNotifier1;
	CTaskbarNotifier m_wndTaskbarNotifier2;
	CTaskbarNotifier m_wndTaskbarNotifier3;
	CTaskbarNotifier m_wndTaskbarNotifier4;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton4();
	afx_msg LRESULT OnTaskbarNotifierClicked(WPARAM wParam,LPARAM lParam);
};

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

John O'Byrne
Web Developer
United States United States
I live in Santa Clara CA and work as a software engineer for SAP Business Objects.

My areas of expertise are user interface developments in Eclipse RCP / SWT / Draw 2D and C#

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 12 Jul 2002
Article Copyright 2002 by John O'Byrne
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid