搜索资源列表
改变窗口的背景和字体颜色
- 改变窗口控制的背景颜色和字体,cfont类-change the window control the background color and font, type cfont
CFont
- 简单的程序,大家共享,欢迎提意见或者攻击都可以 -simple procedures, share, or welcomed opinions can attack
notview
- 文件视图,CFrameWnd C Static CRect MoveWindow CreatePen CSize CDC SetBkMode SelectObject CPen LineTo SetTextColor CString TextOut CFont CreateFont DrawText CreateDC GetDeviceCaps DeleteDC GetObject GlobalAlloc GlobalLock GetStockObject GetDC SelectPalette
j_9213_hotel
- SetCursor CWnd LoadCursor DestroyWindow CDialog GetClientRect C Button GetStockObject CFont GetWindowLong SetWindowLong GetWindowRect BeginDeferWindowPos EnableWindow DeferWindowPos EndDeferWindowPos InvalidateRect UpdateWindow GetCursorPos CPoint Se
wenziduojiaodushuchu
- 该程序主要是向大家介绍如何使用LOGFONT结构和CFont对象来输出各种文字体.其中主要的输出处理都集中在OnPaint()函数中,要学会在VC中对程序的逐步创建.-the program is mainly to tell you about how to use the LOGFONT structure and CFont object to the output kinds of characters. One of the major export processing are co
label
- 一个可以改变static文本框字体、大小、颜色的类 enum FlashType {None, Text, Background } class CLabel : public CStatic { // Construction public: CLabel() CLabel& SetBkColor(COLORREF crBkgnd) CLabel& SetTextColor(COLORREF crText) CLabel& SetTex
GDIueser
- 这是一个简单的文本输入应用程序 写字板是自定义的: 具体先建个Font dlg; 在里面添加个List Box以供给我们字体菜单 其对应变量 m_Font; 具体代码在CFont类中添加
CPenCBrushCFont(VC++)
- 本程序通过运用CPen,CBrush,CFont实现了图像和字体的创建和显示。
newasp200611413439593
- int PosFromChar(UINT nChar) // 通过指定的字符获得其x轴的位置 int CharFromPos(int nPosX) // 通过给定的x轴的位置获得相应的字符 void CutString() // 剪切字符串 void PasteString() // 粘贴字符串 void CopyString() // 拷贝字符串 void MakeBKGround(CDC *pDC, COLORREF c
CTestWindow
- 上面的代码开始于建立窗口和CStatic。然后建立一CFont类型对象。
CtrlFont
- 在VC中修改字体大小的一段示例程序,此程序写在OnInitDlg中,请耐心查看.主要是调用Cfont类中的函数.-changes in VC font size of a sample program, this procedure was in OnInitDlg, requested patience View. Call Cfont is mainly a function of class.
CFont
- 利用选择字体的例子来试验combox控件的用法-Select the font to use examples to test the combox control the usage of
xtaspimage(2)
- 在Windows中有各种图形用户界面GUI[Graphics User Interface]对象,当我们在进行绘图时就需要利用这些对象。而各种对象都拥有各种属性,下面首先介绍几种GUI对象和拥有的属性: 字体对象CFont 刷子CBrush对象画笔CPen 位图CBitmap对象 CPalette调色板 -In Windows, have a variety of graphical user interface GUI [Graphics User Interface] objects, wh
MyNotepad
- 可以替代系统记事本的程序 首先建立基于类CEditView的单文档的工程Notepad,注意在MFC-AppWizard Step-4的Advanced中设定扩展名为txt。去掉工具栏(系统记事本里也没有),菜单按照系统的记事本来设计,并且ID用VC自带的设置,如“复制”ID为ID_EDIT_COPY。自己要加入字体的设置: 向CNotepadeView之中添加CFont类型的成员变量m_Font。为WM_CREATE消息添加映射函数。-System can replace Notepa
CFoncreate
- 自己总结的cfont类如何使用,这里尽可能的表达了它的各种使用方法-Summary cfont his class how to use, where the expression of as much as possible and its various use
mfc
- 通讯录管理系统[经验]通讯录管理系统 - VC.NET论坛 - 编程论坛 8条回复 - 发帖时间: 2005年5月9日 利用MFC连接数据库有很多方法,选择一个比较适中的方法——利用MFC的ODBC类来制作通讯录管理系统。建立对话框应用程序,为其添加菜单实现登陆和密码修改功能,添加MFC-CDialog CString MessageBeep CWnd LoadIcon CDataExchange CWinApp CPoint CDC GetObject CreateFontIndir
0536548200710209193659
- 一套完整的某公司的石油钻井设计软件 源代码公布, 可供VC学习之用-A complete set of a company-CPen CString CBrush CWnd CDialog LoadResource CDataExchange CDC CRect GetClientRect SetBkMode CPalette CClientDC SelectPalette RealizePalette IsChild CStdioFile CFileException CFile GetDlg
CFont
- 基于Directx9.0c的通过构造CD3DFont类来实现的文字输出-The text output to achieve by constructing CD3DFont class-based Directx9.0c
Button-tansparent
- Button-tansparent: LoadImage CPoint CWnd CButton GetActiveWindow GetCapture SetFocus SetCapture CRect GetClientRect PtInRect ReleaseCapture CDC CPen CBrush FrameRect FillRect GetSysColor SelectObject LineTo DrawFocusRect CString GetWindowText Offse
CUseSKin
- How to use skin control: LoadImage CPoint CWnd CButton GetActiveWindow GetCapture SetFocus SetCapture CRect GetClientRect PtInRect ReleaseCapture CDC CPen CBrush FrameRect FillRect GetSysColor SelectObject LineTo DrawFocusRect CString GetWindowText