home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / tema / SW602 / Winbase / data1.cab / SDK_Files / C-lang / MFC / WBMFCSSA.H < prev   
Encoding:
C/C++ Source or Header  |  2000-03-16  |  1.6 KB  |  57 lines

  1. // wbmfcssa.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CSelSrvrApplDlg dialog
  6.  
  7. class CSelSrvrApplDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CSelSrvrApplDlg(const char *UserName, const char *Password, const char *Appl, char *SelSrvr, char *SelAppl, CWnd* pParent = NULL);   // standard constructor
  12.  
  13. // Dialog Data
  14.     //{{AFX_DATA(CSelSrvrApplDlg)
  15.     enum { IDD = IDD_SRVRAPPL };
  16.         // NOTE: the ClassWizard will add data members here
  17.     //}}AFX_DATA
  18.  
  19.  
  20. // Overrides
  21.     // ClassWizard generated virtual function overrides
  22.     //{{AFX_VIRTUAL(CSelSrvrApplDlg)
  23.     protected:
  24.     //}}AFX_VIRTUAL
  25.  
  26. // Implementation
  27. protected:
  28.     BOOL m_NoAppl;
  29.     const char * m_Appl;
  30.     const char * m_Password;
  31.     const char * m_UserName;
  32.     char *m_SelSrvr;
  33.     char *m_SelAppl;
  34.     tobjname m_SelServerName;
  35.     HTREEITEM m_SelServer;
  36.     BOOL IsAppl(HTREEITEM hItem = NULL);
  37.     CTreeCtrl * m_SrvrTree;
  38.  
  39.     // Generated message map functions
  40.     //{{AFX_MSG(CSelSrvrApplDlg)
  41.     virtual BOOL OnInitDialog();
  42.     afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
  43.     afx_msg void OnItemexpanding(NMHDR* pNMHDR, LRESULT* pResult);
  44.     afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
  45.     afx_msg void OnChangeEdit();
  46.     afx_msg void OnDestroy();
  47.     virtual void OnOK();
  48.     //}}AFX_MSG
  49.     BOOL FillSrvrTree();
  50.  
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. BOOL WBSelSrvrAppl(const char *UserName = NULL, const char *Password = NULL, const char *Appl = NULL, char *SelSrvr = NULL, char *SelAppl = NULL);
  55. extern "C" DllImport void WINAPI small_string(char *s, BOOL captfirst);
  56.  
  57.