mrDarker
2025-04-03 39e5424c8ce474c09ef9939f28e07232dedf3113
SourceCode/Bond/Servo/CEquipmentPage1.cpp
@@ -28,6 +28,9 @@
BEGIN_MESSAGE_MAP(CEquipmentPage1, CHMPropertyPage)
   ON_WM_CTLCOLOR()
   ON_WM_DESTROY()
   ON_WM_SIZE()
END_MESSAGE_MAP()
@@ -35,7 +38,6 @@
void CEquipmentPage1::OnApply()
{
   __super::OnApply();
   AfxMessageBox("CEquipmentPage1::OnApply()");
}
void CEquipmentPage1::setEquipment(SERVO::CEquipment* pEquipment)
@@ -52,3 +54,27 @@
   return TRUE;  // return TRUE unless you set the focus to a control
              // 异常: OCX 属性页应返回 FALSE
}
HBRUSH CEquipmentPage1::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
   HBRUSH hbr = CHMPropertyPage::OnCtlColor(pDC, pWnd, nCtlColor);
   // TODO:  在此更改 DC 的任何特性
   // TODO:  如果默认的不是所需画笔,则返回另一个画笔
   return hbr;
}
void CEquipmentPage1::OnDestroy()
{
   CHMPropertyPage::OnDestroy();
   // TODO: 在此处添加消息处理程序代码
}
void CEquipmentPage1::OnSize(UINT nType, int cx, int cy)
{
   CHMPropertyPage::OnSize(nType, cx, cy);
   // TODO: 在此处添加消息处理程序代码
}