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

Gradient Menus in MFC

Rate me:
Please Sign up or sign in to vote.
4.76/5 (10 votes)
14 May 2000 240.2K   5.7K   64  
Create Popup menus in MFC with a gradient and text on the left side
// GrMenuTest.h : main header file for the GRMENUTEST application
//

#if !defined(AFX_GRMENUTEST_H__9EFD6B67_2129_11D4_8767_00C04F490CE0__INCLUDED_)
#define AFX_GRMENUTEST_H__9EFD6B67_2129_11D4_8767_00C04F490CE0__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"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CGrMenuTestApp:
// See GrMenuTest.cpp for the implementation of this class
//

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

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGrMenuTestApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CGrMenuTestApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

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

#endif // !defined(AFX_GRMENUTEST_H__9EFD6B67_2129_11D4_8767_00C04F490CE0__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
Web Developer Golden Crater Corp
Canada Canada
Jim is the President of Golden Crater Corp. (formerly Golden Crater Software) which produces:

Tiny eBook Reader - Read eBooks anywhere, on any web enabled device or phone.

Doberman BMS - Home Automation and Building Management System bridging and enhancing several automation hardware platforms.

Comments and Discussions