home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Colorres.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-10  |  1.1 KB  |  47 lines

  1. // colorres.h : header file
  2. // Copyright (C) 1990, 1998 LEAD Technologies, Inc.
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CColorResDlg dialog
  7.  
  8. class CColorResDlg : public CDialog
  9. {
  10. // Construction
  11. public:
  12.     CColorResDlg(CWnd* pParent = NULL);   // standard constructor
  13.  
  14. // Dialog Data
  15.     //{{AFX_DATA(CColorResDlg)
  16.     enum { IDD = IDD_COLORRES };
  17.    int m_nBitsPerPixel;
  18.    int m_nPalette;
  19.    int m_nDither;
  20.     //}}AFX_DATA
  21.  
  22.  
  23. // Overrides
  24.     // ClassWizard generated virtual function overrides
  25.     //{{AFX_VIRTUAL(CColorResDlg)
  26.     protected:
  27.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28.     //}}AFX_VIRTUAL
  29.  
  30. // Implementation
  31. protected:
  32.    void EnableControls();
  33.  
  34.     // Generated message map functions
  35.     //{{AFX_MSG(CColorResDlg)
  36.     afx_msg void OnRadio1();
  37.     afx_msg void OnRadio2();
  38.     afx_msg void OnRadio3();
  39.     afx_msg void OnRadio4();
  40.     afx_msg void OnRadio5();
  41.     afx_msg void OnRadio6();
  42.     virtual BOOL OnInitDialog();
  43.     virtual void OnOK();
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.