home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / GETF.ZIP / MyFontDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-01  |  1.5 KB  |  53 lines

  1. /************************************
  2.   REVISION LOG ENTRY
  3.   Revision By: Mihai Filimon
  4.   Revised on 2/1/99 2:27:51 PM
  5.   Comments: MyFontDialog.h : header file
  6.  ************************************/
  7.  
  8. #if !defined(AFX_MYFONTDIALOG_H__F36D09A3_B8F5_11D2_8766_0040055C08D9__INCLUDED_)
  9. #define AFX_MYFONTDIALOG_H__F36D09A3_B8F5_11D2_8766_0040055C08D9__INCLUDED_
  10.  
  11. #if _MSC_VER >= 1000
  12. #pragma once
  13. #endif // _MSC_VER >= 1000
  14. // 
  15. //
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CMyFontDialog dialog
  19.  
  20. class CMyFontDialog : public CFontDialog
  21. {
  22.     DECLARE_DYNAMIC(CMyFontDialog)
  23.  
  24. public:
  25.     CMyFontDialog(LPLOGFONT lplfInitial = NULL,
  26.         DWORD dwFlags = CF_EFFECTS | CF_SCREENFONTS,
  27.         CDC* pdcPrinter = NULL,
  28.         CWnd* pParentWnd = NULL);
  29. #ifndef _AFX_NO_RICHEDIT_SUPPORT
  30.     CMyFontDialog(const CHARFORMAT& charformat,
  31.         DWORD dwFlags = CF_SCREENFONTS,
  32.         CDC* pdcPrinter = NULL,
  33.         CWnd* pParentWnd = NULL);
  34. #endif
  35.  
  36. protected:
  37.     static CString GetLong(long l);
  38.     virtual CString GetCurrentFontAsString();
  39.     CEdit m_edit;
  40.     void operator = (LPCTSTR lpszNewText);
  41.     virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );
  42.     //{{AFX_MSG(CMyFontDialog)
  43.     virtual BOOL OnInitDialog();
  44.     afx_msg void OnTimer(UINT nIDEvent);
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51.  
  52. #endif // !defined(AFX_MYFONTDIALOG_H__F36D09A3_B8F5_11D2_8766_0040055C08D9__INCLUDED_)
  53.