home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CFontPropPage

CObject
   |
   +--CCmdTarget
         |
         +--CWnd
               |
               +--CDialog
                     |
                     +--COlePropertyPage
                           |
                           +--CStockPropPage
                                 |
                                 +--CFontPropPage

   in AFXCTL.H

class CFontPropPage
extends CStockPropPage

CFontPropPage class


Field Summary
protected BOOL m_bStrikeOut
          
protected BOOL m_bUnderline
          
 CFontComboBox m_FontNames
          
 CComboBox m_FontProp
          
 CSizeComboBox m_FontSizes
          
 CComboBox m_FontStyles
          
protected DWORD m_nActualStyle
          
protected DWORD m_nCurrentStyle
          
protected DWORD m_nStyles
          
 CStatic m_SampleBox
          
protected CString m_strFontSize
          
protected int nPixelsY
          
protected CFont SampleFont
          
   
Fields inherited from class CStockPropPage
m_lcid, m_strPropName, m_iPropName
   
Fields inherited from class COlePropertyPage
m_arrayDDP
   
Fields inherited from class CDialog
m_nIDHelp, m_lpszTemplateName, m_hDialogTemplate, m_lpDialogTemplate, m_lpDialogInit, m_pParentWnd, m_hWndTop, m_pOccDialogInfo, messageMap
   
Fields inherited from class CWnd
m_hWnd, wndTop, wndBottom, wndTopMost, wndNoTopMost, m_hWndOwner, m_nFlags, m_pfnSuper, m_nMsgDragList, m_nModalResult, m_pDropTarget, m_pCtrlCont, m_pCtrlSite, messageMap
   
Fields inherited from class CCmdTarget
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CFontPropPage()
          
 
Method Summary
protected virtual void DoDataExchange( CDataExchange* pDX )
          
protected static int CALLBACK EnumFontFamiliesCallBack( ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam )
          
protected static int CALLBACK EnumFontFamiliesCallBack2( ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam )
          
protected void FillFacenameList()
          
protected void FillSizeList()
          
protected BOOL GetFontProps( CDataExchange* pDX, FONTOBJECT* pfobj, LPCTSTR pszPropName, MERGEOBJECT* pmobj )
          
protected afx_msg void OnEditchangeFontstyles()
          
protected virtual BOOL OnEditProperty( DISPID dispid )
          
protected afx_msg void OnEditupdateFontnames()
          
protected afx_msg void OnEditupdateFontsizes()
          
protected virtual BOOL OnInitDialog()
          
protected virtual void OnObjectsChanged()
          
protected virtual void OnPaint()
          
protected afx_msg void OnSelchangeFontnames()
          
protected afx_msg void OnSelchangeFontprop()
          
protected afx_msg void OnSelchangeFontsizes()
          
protected afx_msg void OnSelchangeFontstyles()
          
protected afx_msg void OnStrikeout()
          
protected afx_msg void OnUnderline()
          
protected void SelectFontFromList( CString strFaceName, MERGEOBJECT* pmobj )
          
protected BOOL SetFontProps( CDataExchange* pDX, FONTOBJECT fobj, LPCTSTR pszPropName )
          
protected void UpdateSampleFont()
          
   
Methods inherited from class CStockPropPage
FillPropnameList, OnSelchangePropname, OnEditProperty
   
Methods inherited from class COlePropertyPage
GetObjectArray, SetModifiedFlag, IsModified, GetPageSite, SetDialogResource, SetPageName, SetHelpInfo, GetControlStatus, SetControlStatus, IgnoreApply, MessageBox, OnSetPageSite, OnObjectsChanged, OnHelp, OnInitDialog, OnEditProperty, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropText, GetPropText, SetPropCheck, GetPropCheck, SetPropRadio, GetPropRadio, SetPropIndex, GetPropIndex, WindowProc, OnCommand, PreTranslateMessage, OnFinalRelease, CleanupObjectArray, EnumChildProc, EnumControls, OnCtlColor
   
Methods inherited from class CDialog
Create, Create, CreateIndirect, CreateIndirect, InitModalIndirect, InitModalIndirect, MapDialogRect, SetHelpID, DoModal, NextDlgCtrl, PrevDlgCtrl, GotoDlgCtrl, SetDefID, GetDefID, EndDialog, OnInitDialog, OnSetFont, OnOK, OnCancel, PreTranslateMessage, OnCmdMsg, CheckAutoCenter, SetOccDialogInfo, PreInitDialog, PreModal, PostModal, CreateIndirect, CreateIndirect, OnCommandHelp, OnHelpHitTest, HandleInitDialog, HandleSetFont, OnCtlColor, GetMessageMap
   
Methods inherited from class CWnd
GetCurrentMessage, HWND, operator==, operator!=, GetSafeHwnd, GetStyle, GetExStyle, ModifyStyle, ModifyStyleEx, GetOwner, SetOwner, FromHandle, FromHandlePermanent, DeleteTempMap, Attach, Detach, PreSubclassWindow, SubclassWindow, SubclassDlgItem, UnsubclassWindow, ExecuteDlgInit, ExecuteDlgInit, Create, CreateEx, CreateEx, CreateControl, CreateControl, CreateControl, GetControlUnknown, DestroyWindow, PreCreateWindow, CalcWindowRect, GetDlgCtrlID, SetDlgCtrlID, GetDlgItem, GetDlgItem, GetDescendantWindow, SendMessageToDescendants, GetParentFrame, GetTopLevelParent, GetTopLevelOwner, GetParentOwner, GetTopLevelFrame, GetSafeOwner, SendMessage, PostMessage, SendNotifyMessage, SendChildNotifyLastMsg, IsDialogMessage, SetWindowText, GetWindowText, GetWindowText, GetWindowTextLength, SetFont, GetFont, GetMenu, SetMenu, DrawMenuBar, GetSystemMenu, HiliteMenuItem, IsIconic, IsZoomed, MoveWindow, MoveWindow, SetWindowRgn, GetWindowRgn, SetWindowPos, ArrangeIconicWindows, BringWindowToTop, GetWindowRect, GetClientRect, GetWindowPlacement, SetWindowPlacement, ClientToScreen, ClientToScreen, ScreenToClient, ScreenToClient, MapWindowPoints, MapWindowPoints, BeginPaint, EndPaint, GetDC, GetWindowDC, ReleaseDC, Print, PrintClient, UpdateWindow, SetRedraw, GetUpdateRect, GetUpdateRgn, Invalidate, InvalidateRect, InvalidateRgn, ValidateRect, ValidateRgn, ShowWindow, IsWindowVisible, ShowOwnedPopups, GetDCEx, LockWindowUpdate, UnlockWindowUpdate, RedrawWindow, EnableScrollBar, SetTimer, KillTimer, EnableToolTips, EnableTrackingToolTips, CancelToolTips, FilterToolTipMessage, OnToolHitTest, IsWindowEnabled, EnableWindow, GetActiveWindow, SetActiveWindow, SetForegroundWindow, GetForegroundWindow, GetCapture, SetCapture, GetFocus, SetFocus, GetDesktopWindow, CloseWindow, OpenIcon, CheckDlgButton, CheckRadioButton, GetCheckedRadioButton, DlgDirList, DlgDirListComboBox, DlgDirSelect, DlgDirSelectComboBox, GetDlgItemInt, GetDlgItemText, GetDlgItemText, GetNextDlgGroupItem, GetNextDlgTabItem, IsDlgButtonChecked, SendDlgItemMessage, SetDlgItemInt, SetDlgItemText, GetScrollPos, GetScrollRange, ScrollWindow, SetScrollPos, SetScrollRange, ShowScrollBar, EnableScrollBarCtrl, GetScrollBarCtrl, ScrollWindowEx, SetScrollInfo, GetScrollInfo, GetScrollLimit, ChildWindowFromPoint, ChildWindowFromPoint, FindWindow, GetNextWindow, GetTopWindow, GetWindow, GetLastActivePopup, IsChild, GetParent, SetParent, WindowFromPoint, FlashWindow, MessageBox, ChangeClipboardChain, SetClipboardViewer, OpenClipboard, GetClipboardOwner, GetClipboardViewer, GetOpenClipboardWindow, CreateCaret, CreateSolidCaret, CreateGrayCaret, GetCaretPos, SetCaretPos, HideCaret, ShowCaret, DragAcceptFiles, SetIcon, GetIcon, SetWindowContextHelpId, GetWindowContextHelpId, UpdateData, OnHelp, OnHelpIndex, OnHelpFinder, OnHelpUsing, WinHelp, RepositionBars, UpdateDialogControls, CenterWindow, RunModalLoop, ContinueModal, EndModalLoop, InvokeHelper, SetProperty, GetProperty, GetDSCCursor, BindDefaultProperty, BindProperty, OnCommand, OnNotify, OnActivate, OnActivateApp, OnActivateTopLevel, OnCancelMode, OnChildActivate, OnClose, OnContextMenu, OnCopyData, OnCreate, OnCtlColor, OnDestroy, OnEnable, OnEndSession, OnEnterIdle, OnEraseBkgnd, OnGetMinMaxInfo, OnHelpInfo, OnIconEraseBkgnd, OnKillFocus, OnMenuChar, OnMenuSelect, OnMove, OnPaint, OnParentNotify, OnQueryDragIcon, OnQueryEndSession, OnQueryNewPalette, OnQueryOpen, OnSetFocus, OnShowWindow, OnSize, OnTCard, OnWindowPosChanging, OnWindowPosChanged, OnNcActivate, OnNcCalcSize, OnNcCreate, OnNcDestroy, OnNcHitTest, OnNcLButtonDblClk, OnNcLButtonDown, OnNcLButtonUp, OnNcMButtonDblClk, OnNcMButtonDown, OnNcMButtonUp, OnNcMouseMove, OnNcPaint, OnNcRButtonDblClk, OnNcRButtonDown, OnNcRButtonUp, OnDropFiles, OnPaletteIsChanging, OnSysChar, OnSysCommand, OnSysDeadChar, OnSysKeyDown, OnSysKeyUp, OnCompacting, OnDevModeChange, OnFontChange, OnPaletteChanged, OnSpoolerStatus, OnSysColorChange, OnTimeChange, OnSettingChange, OnWinIniChange, OnChar, OnDeadChar, OnHScroll, OnVScroll, OnKeyDown, OnKeyUp, OnLButtonDblClk, OnLButtonDown, OnLButtonUp, OnMButtonDblClk, OnMButtonDown, OnMButtonUp, OnMouseActivate, OnMouseMove, OnMouseWheel, OnRegisteredMouseWheel, OnRButtonDblClk, OnRButtonDown, OnRButtonUp, OnSetCursor, OnTimer, OnInitMenu, OnInitMenuPopup, OnAskCbFormatName, OnChangeCbChain, OnDestroyClipboard, OnDrawClipboard, OnHScrollClipboard, OnPaintClipboard, OnRenderAllFormats, OnRenderFormat, OnSizeClipboard, OnVScrollClipboard, OnCompareItem, OnDeleteItem, OnDrawItem, OnGetDlgCode, OnMeasureItem, OnCharToItem, OnVKeyToItem, OnMDIActivate, OnEnterMenuLoop, OnExitMenuLoop, OnStyleChanged, OnStyleChanging, OnSizing, OnMoving, OnCaptureChanged, OnDeviceChange, GetSuperWndProcAddr, DoDataExchange, BeginModalState, EndModalState, PreTranslateMessage, OnAmbientProperty, WindowProc, OnWndMsg, Default, DefWindowProc, PostNcDestroy, OnChildNotify, ReflectChildNotify, ReflectLastMsg, CheckAutoCenter, SubclassCtl3d, SubclassDlg3d, GrayCtlColor, OnGrayCtlColor, HandleFloatingSysCommand, IsTopParentActive, ActivateTopParent, WalkPreTranslateTree, GetDescendantWindow, SendMessageToDescendants, IsFrameWnd, OnFinalRelease, PreTranslateInput, ModifyStyle, ModifyStyleEx, _FilterToolTipMessage, _EnableToolTips, GetSafeOwner_, CreateDlg, CreateDlgIndirect, CreateDlgIndirect, InitControlContainer, SetOccDialogInfo, AttachControlSite, AttachControlSite, OnNTCtlColor, OnQuery3dControls, OnDisplayChange, OnDragList, GetMessageMap
   
Methods inherited from class CCmdTarget
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_bStrikeOut

protected BOOL m_bStrikeOut;

m_bUnderline

protected BOOL m_bUnderline;

m_FontNames

public CFontComboBox m_FontNames;

m_FontProp

public CComboBox m_FontProp;

m_FontSizes

public CSizeComboBox m_FontSizes;

m_FontStyles

public CComboBox m_FontStyles;

m_nActualStyle

protected DWORD m_nActualStyle;

m_nCurrentStyle

protected DWORD m_nCurrentStyle;

m_nStyles

protected DWORD m_nStyles;

m_SampleBox

public CStatic m_SampleBox;

m_strFontSize

protected CString m_strFontSize;

nPixelsY

protected int nPixelsY;

SampleFont

protected CFont SampleFont;


Constructor Detail

CFontPropPage

public CFontPropPage();


Method Detail

DoDataExchange

protected virtual void DoDataExchange( CDataExchange* pDX );

EnumFontFamiliesCallBack

protected static int CALLBACK EnumFontFamiliesCallBack( ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam );

EnumFontFamiliesCallBack2

protected static int CALLBACK EnumFontFamiliesCallBack2( ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam );

FillFacenameList

protected void FillFacenameList();

FillSizeList

protected void FillSizeList();

GetFontProps

protected BOOL GetFontProps( CDataExchange* pDX, FONTOBJECT* pfobj, LPCTSTR pszPropName, MERGEOBJECT* pmobj );

OnEditchangeFontstyles

protected afx_msg void OnEditchangeFontstyles();

OnEditProperty

protected virtual BOOL OnEditProperty( DISPID dispid );

OnEditupdateFontnames

protected afx_msg void OnEditupdateFontnames();

OnEditupdateFontsizes

protected afx_msg void OnEditupdateFontsizes();

OnInitDialog

protected virtual BOOL OnInitDialog();

OnObjectsChanged

protected virtual void OnObjectsChanged();

OnPaint

protected virtual void OnPaint();

OnSelchangeFontnames

protected afx_msg void OnSelchangeFontnames();

OnSelchangeFontprop

protected afx_msg void OnSelchangeFontprop();

OnSelchangeFontsizes

protected afx_msg void OnSelchangeFontsizes();

OnSelchangeFontstyles

protected afx_msg void OnSelchangeFontstyles();

OnStrikeout

protected afx_msg void OnStrikeout();

OnUnderline

protected afx_msg void OnUnderline();

SelectFontFromList

protected void SelectFontFromList( CString strFaceName, MERGEOBJECT* pmobj );

SetFontProps

protected BOOL SetFontProps( CDataExchange* pDX, FONTOBJECT fobj, LPCTSTR pszPropName );

UpdateSampleFont

protected void UpdateSampleFont();

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD