Click here to Skip to main content
11,412,833 members (72,188 online)
Click here to Skip to main content
Add your own
alternative version

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

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150427.1 | Last Updated 13 Aug 2004
Article Copyright 2004 by bryce
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid