1 Star 2 Fork 0

eaglexmw/TstConn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
IFacesPg.Cpp 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
YCKJ2082 提交于 2020-05-12 10:41 +08:00 . first commit
// CInterfacesPage.Cpp : implementation file
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.
#include "StdAfx.H"
#include "TestCon.H"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInterfacesPage property page
IMPLEMENT_DYNCREATE(CInterfacesPage, CPropertyPage)
CInterfacesPage::CInterfacesPage() : CPropertyPage(CInterfacesPage::IDD)
{
m_psp.dwFlags &= ~PSP_HASHELP;
//{{AFX_DATA_INIT(CInterfacesPage)
m_tIOleInPlaceSiteWindowless = FALSE;
m_tIOleInPlaceSiteEx = FALSE;
m_tIAdviseSinkEx = FALSE;
//}}AFX_DATA_INIT
}
CInterfacesPage::~CInterfacesPage()
{
}
void CInterfacesPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInterfacesPage)
DDX_Check(pDX, IDC_IOLEINPLACESITEWINDOWLESS, m_tIOleInPlaceSiteWindowless);
DDX_Check(pDX, IDC_IOLEINPLACESITEEX, m_tIOleInPlaceSiteEx);
DDX_Check(pDX, IDC_IADVISESINKEX, m_tIAdviseSinkEx);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInterfacesPage, CPropertyPage)
//{{AFX_MSG_MAP(CInterfacesPage)
ON_WM_HELPINFO()
ON_WM_CONTEXTMENU()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInterfacesPage message handlers
static DWORD rgmapCHID[] =
{
IDC_IOLEINPLACESITEEX, HIDC_IOLEINPLACESITEEX,
IDC_IOLEINPLACESITEWINDOWLESS, HIDC_IOLEINPLACESITEWINDOWLESS,
IDC_IADVISESINKEX, HIDC_IADVISESINKEX,
0, 0
};
BOOL CInterfacesPage::OnHelpInfo( HELPINFO* pHelpInfo )
{
CString strPath = AfxGetApp()->m_pszHelpFilePath;
strPath += _T("::/popups.txt");
return ::HtmlHelp((HWND)pHelpInfo->hItemHandle, strPath, HH_TP_HELP_WM_HELP, DWORD(LPVOID(rgmapCHID))) != NULL;
}
void CInterfacesPage::OnContextMenu( CWnd* pWnd, CPoint /* point */ )
{
CString strPath = AfxGetApp()->m_pszHelpFilePath;
strPath += _T("::/popups.txt");
::HtmlHelp((HWND)*pWnd, strPath, HH_TP_HELP_CONTEXTMENU, DWORD(LPVOID(rgmapCHID)));
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/eaglexmw/TstConn.git
git@gitee.com:eaglexmw/TstConn.git
eaglexmw
TstConn
TstConn
master

搜索帮助