Click here to Skip to main content
15,881,709 members
Articles / Containers / Virtual Machine

An extendable report editor

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
3 Sep 2008CPOL3 min read 40.9K   2K   35  
An extendable report editor. You can simply add your own controls without recompiling the program or writing annoying plug-ins.
// MenuMan.h: interface for the CMenuMan class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MENUMAN_H__B6054E23_0968_4C88_BDC0_BBDCE76A27D8__INCLUDED_)
#define AFX_MENUMAN_H__B6054E23_0968_4C88_BDC0_BBDCE76A27D8__INCLUDED_

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

#include "comnctls.h"

class CMenuMan{
public:
	HWND hparent;
	CMenu *m_bar;
	CMenu *m_file,*m_help;
	CMenu *i_new,*i_open,*i_code,*i_save,*i_saveas,*i_exit;
	CMenu *i_help,*i_about;
	CMenu *m_view,*i_wnd_log,*i_wnd_property,*i_wnd_console,*i_grid;
public:
	int SetParent(HWND hp);
    CMenuMan();
    virtual ~CMenuMan();
    int Init();
    int Destroy();
    int InitBasic();
};

#endif // !defined(AFX_MENUMAN_H__B6054E23_0968_4C88_BDC0_BBDCE76A27D8__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.

License

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


Written By
Software Developer
China China
26 years old, 2 years work experience.

Comments and Discussions