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.

117 lines
3.1 KiB

  1. #if !defined(AFX_UMDIALOG_H__68457343_40A1_11D2_B602_0060977C295E__INCLUDED_)
  2. #define AFX_UMDIALOG_H__68457343_40A1_11D2_B602_0060977C295E__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // UMDialog.h : header file
  7. // Author: J. Eckhardt, ECO Kommunikation
  8. // (c) 1997-99 Microsoft
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // UMDialog dialog
  12. class UMDialog : public CDialog
  13. {
  14. // Construction
  15. public:
  16. UMDialog(CWnd* pParent = NULL); // standard constructor
  17. ~UMDialog(); // my destructor
  18. // Dialog Data
  19. //{{AFX_DATA(UMDialog)
  20. enum { IDD = IDD_UMAN };
  21. // NOTE: the ClassWizard will add data members here
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(UMDialog)
  26. public:
  27. virtual void OnSysCommand(UINT nID,LPARAM lParam);
  28. virtual BOOL PreTranslateMessage(MSG* pMsg);
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(UMDialog)
  36. virtual BOOL OnInitDialog();
  37. afx_msg void OnClose();
  38. afx_msg void OnStart();
  39. afx_msg void OnStop();
  40. virtual void OnOK();
  41. afx_msg void OnTimer(UINT nIDEvent);
  42. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  43. afx_msg void OnHelp();
  44. afx_msg void OnSelchangeNameStatus();
  45. afx_msg void OnStartAtLogon();
  46. afx_msg void OnStartWithUm();
  47. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  48. afx_msg void OnStartOnLock();
  49. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. inline BOOL GetSelectedClient(int cClients, int &iSel)
  54. {
  55. iSel = m_lbClientList.GetCurSel();
  56. return (iSel < cClients && iSel != -1)?TRUE:FALSE;
  57. }
  58. void SetStateStr(int iClient);
  59. void ListClients();
  60. void UpdateClientState(int iSel);
  61. void EnableDlgItem(DWORD dwEnableMe, BOOL fEnable, DWORD dwFocusHere);
  62. void SaveCurrentState();
  63. CString m_szStateStr;
  64. CString m_szUMStr;
  65. CListBox m_lbClientList;
  66. BOOL m_fRunningSecure; // TRUE if dialog shouldn't expose help or links
  67. };
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  70. /////////////////////////////////////////////////////////////////////////////
  71. // CWarningDlg dialog
  72. class CWarningDlg : public CDialog
  73. {
  74. // Construction
  75. public:
  76. CWarningDlg(CWnd* pParent = NULL); // standard constructor
  77. // Dialog Data
  78. //{{AFX_DATA(CWarningDlg)
  79. enum { IDD = IDD_WARNING };
  80. BOOL m_fDontWarnAgain;
  81. //}}AFX_DATA
  82. // Overrides
  83. // ClassWizard generated virtual function overrides
  84. //{{AFX_VIRTUAL(CWarningDlg)
  85. protected:
  86. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  87. //}}AFX_VIRTUAL
  88. // Implementation
  89. protected:
  90. // Generated message map functions
  91. //{{AFX_MSG(CWarningDlg)
  92. // NOTE: the ClassWizard will add member functions here
  93. //}}AFX_MSG
  94. DECLARE_MESSAGE_MAP()
  95. };
  96. //{{AFX_INSERT_LOCATION}}
  97. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  98. #endif // !defined(AFX_UMDIALOG_H__68457343_40A1_11D2_B602_0060977C295E__INCLUDED_)