代码拉取完成,页面将自动刷新
// ServicesPage.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
/////////////////////////////////////////////////////////////////////////////
// CServicesPage property page
IMPLEMENT_DYNCREATE(CServicesPage, CPropertyPage)
CServicesPage::CServicesPage() : CPropertyPage(CServicesPage::IDD)
{
m_psp.dwFlags &= ~PSP_HASHELP;
//{{AFX_DATA_INIT(CServicesPage)
m_tSBindHost = FALSE;
//}}AFX_DATA_INIT
}
CServicesPage::~CServicesPage()
{
}
void CServicesPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CServicesPage)
DDX_Check(pDX, IDC_SBINDHOST, m_tSBindHost);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CServicesPage, CPropertyPage)
//{{AFX_MSG_MAP(CServicesPage)
ON_WM_HELPINFO()
ON_WM_CONTEXTMENU()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CServicesPage message handlers
static DWORD rgmapCHID[] =
{
IDC_SBINDHOST, HIDC_SBINDHOST,
0, 0
};
BOOL CServicesPage::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 CServicesPage::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)));
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。