Click here to Skip to main content
15,892,298 members
Articles / Desktop Programming / MFC

Applying an Update UI Notification Interface to User-defined Controls

Rate me:
Please Sign up or sign in to vote.
4.50/5 (10 votes)
30 Jul 20003 min read 132.1K   2.5K   56  
A C++/MFC sample how to implement UI notifications for user-defined controls
#if !defined(AFX_CMDUIDEMO_H__FD0259DD_5D6B_11D4_B0E1_0000F6C756FB__INCLUDED_)
#define AFX_CMDUIDEMO_H__FD0259DD_5D6B_11D4_B0E1_0000F6C756FB__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"

class CCmdUIDemoApp : public CWinApp
{
public:
	CCmdUIDemoApp();

	//{{AFX_VIRTUAL(CCmdUIDemoApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CCmdUIDemoApp)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}

#endif // !defined(AFX_CMDUIDEMO_H__FD0259DD_5D6B_11D4_B0E1_0000F6C756FB__INCLUDED_)

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.


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions