/*========================================================================= * * CPAdSel.h : class CPA_DialogSelect * * * Version 1.0 * Creation date * Revision date * * Shaitan *=======================================================================*/ #ifdef ACTIVE_EDITOR #ifndef __DIALOGUSERS_H__ #define __DIALOGUSERS_H__ /****************************************/ #ifndef CPA_EXPORT #if defined(CPA_WANTS_IMPORT) #define CPA_EXPORT __declspec(dllimport) #elif defined(CPA_WANTS_EXPORT) #define CPA_EXPORT __declspec(dllexport) #else #define CPA_EXPORT #endif #endif /****************************************/ #include "CPARes.h" class CPA_Interface; /*///////////////////////////////////////////////////////////////////////////*/ /* CPA_DialogSelect dialog*/ class CPA_DialogPrefix : public CDialog { protected: CPA_Interface *m_pEditor; CString m_a_csUserNames[50]; long m_lNbUsers; long m_lUserSelected; public: /* standard constructor*/ CPA_DialogPrefix(CWnd* pParent = NULL); /* dialog*/ long fn_lDoDialog (CPA_Interface *pEditor, CString a_csUserNames[], long lNbUsers); void fn_vInitDialog (void); /* Dialog Data*/ /*{{AFX_DATA(CPA_DialogPrefix)*/ enum { IDD = CPA_IDD_DIALOGPREFIX }; CComboBox m_cComboUsers; CButton m_cSave; /*}}AFX_DATA*/ /* Overrides*/ /* ClassWizard generated virtual function overrides*/ /*{{AFX_VIRTUAL(CPA_DialogPrefix)*/ protected: virtual void DoDataExchange(CDataExchange* pDX); /* DDX/DDV support*/ /*}}AFX_VIRTUAL*/ /* Implementation*/ protected: /* Generated message map functions*/ /*{{AFX_MSG(CPA_DialogSelect)*/ virtual void OnOK(); virtual void OnCancel(); virtual BOOL OnInitDialog(); afx_msg void OnSave(); afx_msg void OnSelChangeComboUsers(); afx_msg void OnDblClkComboUsers(); /*}}AFX_MSG*/ DECLARE_MESSAGE_MAP() }; #endif /*__DIALOGUSERS_H__*/ #endif /* ACTIVE_EDITOR*/