Click here to Skip to main content
13,198,850 members (44,385 online)
Click here to Skip to main content

Stats

125K views
2.2K downloads
56 bookmarked
Posted 12 Aug 2004

How to make a Message Only Window

, 12 Aug 2004
An article on how to make a message only window.
// MessageOnlyWindowDlg.h : header file
//

#pragma once
#include "MyMessageOnlyWindowClass.h"





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

// Dialog Data
	enum { IDD = IDD_MESSAGEONLYWINDOW_DIALOG };

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


// Implementation
protected:
	HICON m_hIcon;

	// 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 OnBnClickedOk();
private:
	CMyMessageOnlyWindowClass myMessageOnlyClass;
};

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

bryce
Software Developer (Senior)
Australia Australia
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171020.1 | Last Updated 13 Aug 2004
Article Copyright 2004 by bryce
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid