home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / FNTSLDLG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  1.1 KB  |  50 lines

  1. // FontSelDialog.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CFontSelDialog dialog
  6. //{{AFX_INCLUDES()
  7. #include "pvfontsel.h"
  8. #include "pvbutton.h"
  9. //}}AFX_INCLUDES
  10.  
  11. class CFontSelDialog : public CDialog
  12. {
  13. // Construction
  14. public:
  15.     CFontSelDialog(CWnd* pParent = NULL);   // standard constructor
  16.  
  17. // Dialog Data
  18.     //{{AFX_DATA(CFontSelDialog)
  19.     enum { IDD = IDD_FONTS };
  20.     CStatic    m_text;
  21.     CPVFontSel    m_fontsel;
  22.     CPVButton    m_bold;
  23.     CPVButton    m_italic;
  24.     //}}AFX_DATA
  25.  
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CFontSelDialog)
  30.     protected:
  31.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. protected:
  36.  
  37.     // Generated message map functions
  38.     //{{AFX_MSG(CFontSelDialog)
  39.     virtual BOOL OnInitDialog();
  40.     afx_msg void OnFontNameChangeFontselctrl1();
  41.     afx_msg void OnPointSizeChangeFontselctrl1();
  42.     afx_msg void OnClickItalic();
  43.     afx_msg void OnClickBold();
  44.     DECLARE_EVENTSINK_MAP()
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47.  
  48.     void ChangeFont();
  49. };
  50.