Leaked source code of windows server 2003
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.

83 lines
2.0 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. newqdlg.h
  5. Abstract:
  6. Header file for the create new query dialog.
  7. --*/
  8. #ifndef _NEWQDLG_H_
  9. #define _NEWQDLG_H_
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13. // Dialog controls
  14. #define IDD_NEWQUERY 900
  15. #define IDC_NEWQ_FIRST_HELP_CTRL_ID 901
  16. #define IDC_NEWQ_NAME_EDIT 901
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CNewQueryDlg dialog
  19. class CNewQueryDlg : public CDialog
  20. {
  21. // Construction
  22. public:
  23. CNewQueryDlg(CWnd* pParent = NULL, BOOL bLogQuery = TRUE); // alternate constructor
  24. // Dialog Data
  25. void InitAfxData ( void );
  26. DWORD SetContextHelpFilePath( const CString& rstrPath );
  27. //{{AFX_DATA(CNewQueryDlg)
  28. enum { IDD = IDD_NEWQUERY };
  29. CString m_strName;
  30. //}}AFX_DATA
  31. BOOL m_bLogQuery; //if false then it's an alert query
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CNewQueryDlg)
  35. public:
  36. virtual void OnFinalRelease();
  37. protected:
  38. virtual BOOL OnInitDialog();
  39. virtual void OnOK();
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // Generated message map functions
  45. //{{AFX_MSG(CNewQueryDlg)
  46. afx_msg BOOL OnHelpInfo( HELPINFO* );
  47. afx_msg void OnContextMenu( CWnd*, CPoint );
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. // Generated OLE dispatch map functions
  51. //{{AFX_DISPATCH(CNewQueryDlg)
  52. // NOTE - the ClassWizard will add and remove member functions here.
  53. //}}AFX_DISPATCH
  54. DECLARE_DISPATCH_MAP()
  55. DECLARE_INTERFACE_MAP()
  56. private:
  57. CString m_strHelpFilePath;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // _NEWQDLG_H_