Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
859 B

  1. #ifndef MACHINECONNECTPAGE_H
  2. #define MACHINECONNECTPAGE_H
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. class MachineConnectPage : public CPropertyPage
  6. {
  7. public:
  8. enum
  9. {
  10. IDD = IDD_MACHINE_CONNECT_PAGE,
  11. };
  12. // member controls.
  13. MachineConnectPage( _bstr_t* machine_name,
  14. UINT ID = MachineConnectPage::IDD );
  15. CIPAddressCtrl machineName;
  16. // overrides of CPropertyPage
  17. virtual void DoDataExchange( CDataExchange* pDX );
  18. virtual void OnOK();
  19. afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
  20. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  21. protected :
  22. _bstr_t* m_machineName;
  23. DECLARE_MESSAGE_MAP()
  24. };
  25. static DWORD g_aHelpIDs_IDD_MACHINE_CONNECT_PAGE [] = {
  26. IDC_TEXT_MACHINE, IDC_TEXT_MACHINE,
  27. IDC_MACHINE, IDC_MACHINE,
  28. 0,0
  29. };
  30. #endif