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.

48 lines
1005 B

  1. /****************************************************************************
  2. *
  3. * FILE: ChConDlg.h
  4. *
  5. * CREATED: Chris Pirich (ChrisPi) 6-26-96
  6. *
  7. ****************************************************************************/
  8. #ifndef _CHCONDLG_H_
  9. #define _CHCONDLG_H_
  10. #include <cstring.hpp>
  11. class CChooseConfDlg
  12. {
  13. protected:
  14. HWND m_hwndParent;
  15. HWND m_hwnd;
  16. CSTRING m_strConfName;
  17. PWSTR* m_ppwszConferences;
  18. BOOL ProcessMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
  19. BOOL GetConferenceName(int iItem, LPTSTR pszName, int cchName);
  20. static void RefreshOk(HWND hwnd);
  21. // Handlers:
  22. BOOL OnOk(LPTSTR pszName);
  23. public:
  24. // Properties:
  25. LPCTSTR GetName() { return (LPCTSTR) m_strConfName; };
  26. // Methods:
  27. CChooseConfDlg(HWND hwndParent, PWSTR* ppwszConferences);
  28. // ~CChooseConfDlg();
  29. INT_PTR DoModal();
  30. static INT_PTR CALLBACK ChooseConfDlgProc( HWND hDlg,
  31. UINT uMsg,
  32. WPARAM wParam,
  33. LPARAM lParam);
  34. };
  35. #endif // _CHCONDLG_H_
  36.