當前位置:編程學習大全網 - 源碼下載 - 記事本程序設置字體顏色。

記事本程序設置字體顏色。

復制粘貼//cseview . h:CCS eview類的接口/////////////////////////////////////////////。defined(AFX _ CSEVIEW _ H _ _ 5ec 581f 1 _ bee 5 _ 4d 81 _ BD c8 _ 82911ee 6826 e _ _ INCLUDED _)# define AFX _ CSEVIEW _ H _ _ 5ec 581f 1 _ bee 5 _ 4d 81 _ BD c8 _ 82991000 # pragma once # endif//_ MSC _ VER & gt;1000 #include "cseDoc.h "類CCseView:public cedit view { protected://create from serialization only CCseView();DECLARE _ DYNCREATE(CCseView)CFont m _ Font;//Attributes public:ccse doc * get document();//Operations public://Overrides//class wizard生成的虛函數Overrides//{ { AFX _ VIRTUAL(ccse view)public:VIRTUAL void on draw(CDC * pDC);//重寫以繪制此視圖虛擬BOOL pre create window(create struct & amp;cs);虛擬CScrollBar * GetScrollBarCtrl(int nBar)const;protected:virtual BOOL OnPreparePrinting(CPrintInfo * pInfo);虛擬void OnBeginPrinting(CDC* pDC,CPrintInfo * pInfo);虛擬void OnEndPrinting(CDC* pDC,CPrintInfo * pInfo);//}}AFX_VIRTUAL //實現public:VIRTUAL void onset font();virtual ~ CCseView();#ifdef _DEBUG虛擬void assert valid()const;虛擬空轉儲(CDumpContext & ampdc)常數;# endif protected://Generated message map functions protected://{ { AFX _ MSG(CCseView)AFX _ MSG void OnEditUndo();afx _ msg void OnEditCut();afx _ msg void OnEditPaste();afx _ msg void OnEditCopy();afx _ msg void on menuitem 32771();afx _ msg void onbuttondown(UINT nFlags,c point point);afx _ msg void on menuitem 32772();afx _ msg void on menuitem 32773();afx _ msg void on menuitem 32774();afx_msg HBRUSH CtlColor(CDC* pDC,UINT nCtlColor);afx _ msg void OnKillfocus();afx _ msg void OnFontChange();afx _ msg void on menuitem 32775();afx _ msg void on menuitem 32776();afx_msg無效
  • 上一篇:如何用jquery實現時鐘效果
  • 下一篇:譜聚類(Spectral clustering)(python實現)
  • copyright 2024編程學習大全網