home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n04 / multilin.exe / TRANSLAT.H < prev   
C/C++ Source or Header  |  1995-04-01  |  1KB  |  49 lines

  1. // translat.h : header file
  2. //
  3. /////////////////////
  4. // Struc for use by FindTranslationsOf and EnumResTransProc
  5.  
  6. typedef struct _tagLBData
  7. {
  8.     HWND   hWnd;        // Handle to window/dlg box containing the list box
  9.     int    nListBox;    // ID of the list box to fill
  10.     DWORD  dwErrCode;   // Reason for failure of EnumResLangProc
  11. } LBDATA, * PLBDATA;
  12.  
  13. #define NAMESTART 12    // Offset to file name in list box item string
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CTranslations dialog
  16.  
  17. class CTranslations : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CTranslations(CWnd* pParent = NULL);   // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CTranslations)
  25.     enum { IDD = IDD_TRANSLATIONS };
  26.     CString    m_SysTrans;
  27.     //}}AFX_DATA
  28.  
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CTranslations)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.  
  40.     // Additional member functions
  41.     DWORD FindTranslationsOf( LPCTSTR lpszType, LPCTSTR lpszName);
  42.     
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CTranslations)
  45.     virtual BOOL OnInitDialog();
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.