Click here to Skip to main content
15,884,022 members
Articles / Desktop Programming / MFC

The Ultimate TCP/IP Home Page

Rate me:
Please Sign up or sign in to vote.
4.98/5 (77 votes)
25 Aug 2007CPOL13 min read 2.6M   45.4K   267  
Ultimate TCP-IP is now Open Source
// MsgMapper.h : main header file for the MsgMapper application
//
#pragma once

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

#include "resource.h"       // main symbols


// CMsgMapperApp:
// See MsgMapper.cpp for the implementation of this class
//

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


// Overrides
public:
	virtual BOOL InitInstance();

// Implementation
	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
	afx_msg void OnViewRaw();
	afx_msg void OnBnClickedRawBtn();
	afx_msg void OnBnClickedTextbtn();
	afx_msg void OnBnClickedHtmlbtn();
	afx_msg void OnViewHtml();
	afx_msg void OnViewText();
	afx_msg void OnUpdateViewText(CCmdUI *pCmdUI);
	afx_msg void OnUpdateViewHtml(CCmdUI *pCmdUI);
	afx_msg void OnUpdateViewRaw(CCmdUI *pCmdUI);

public:
	void SetEditViewTypes(BOOL bText, BOOL bHtml, BOOL bRaw);

private:
	BOOL	m_bCanDisplayRaw;
	BOOL	m_bCanDisplayText;
	BOOL	m_bCanDisplayHtml;

};

extern CMsgMapperApp theApp;

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
Web Developer
Canada Canada
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.

Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
This is a Organisation

476 members

Comments and Discussions