|
/****************************** Module Header ******************************\
* Module Name: MFCCOMClientDlg.h
* Project: MFCCOMClient
* Copyright (c) Microsoft Corporation.
*
* This source is subject to the Microsoft Public License.
* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
* All other rights reserved.
*
* History:
* * 1/21/2009 11:04 PM Jialiang Ge Created
\***************************************************************************/
// MFCCOMClientDlg.h : header file
//
#pragma once
#include "afxcmn.h"
#include "mfccreatecompage.h"
#include "mfcactivexctrlpage.h"
// CMFCCOMClientDlg dialog
class CMFCCOMClientDlg : public CDialog
{
// Construction
public:
CMFCCOMClientDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_MFCCOMCLIENT_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:
// The tab control in the dialog
CTabCtrl m_tabCtrl;
// The page that demonstrates the creation of a COM object using MFC
CMFCCreateCOMPage m_mfcCreateCOMPage;
// The page that demonstrates the load of a MFC ActiveX control
CMFCActiveXCtrlPage m_mfcActiveXCtrlPage;
afx_msg void OnTcnSelchangeTabs(NMHDR *pNMHDR, LRESULT *pResult);
};
|
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.
Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.
http://cfx.codeplex.com/