Location:
Search - CLabel
Search list
Description: 一个可以改变static文本框字体、大小、颜色的类
enum FlashType {None, Text, Background }
class CLabel : public CStatic
{
// Construction
public:
CLabel()
CLabel& SetBkColor(COLORREF crBkgnd)
CLabel& SetTextColor(COLORREF crText)
CLabel& SetText(const CString& strText)
CLabel& SetFontBold(BOOL bBold)
CLabel& SetFontName(const CString& strFont)
CLabel& SetFontUnderline(BOOL bSet)
CLabel& SetFontItalic(BOOL bSet)
CLabel& SetFontSize(int nSize)
CLabel& SetSunken(BOOL bSet)
CLabel& SetBorder(BOOL bSet)
CLabel& FlashText(BOOL bActivate)
CLabel& FlashBackground(BOOL bActivate)
CLabel& SetLink(BOOL bLink)
CLabel& SetLinkCursor(HCURSOR hCursor)
// Attributes
public:
protected:
void ReconstructFont()
COLORREF m_crText
HBRUSH m_hBrush
HBRUSH m_hwndBrush
LOGFONT m_lf
CFont m_font
CString m_strText
BOOL m_bState
BOOL m_bTimer
BOOL m_bLink
FlashType m_Type
HCURSOR m_hCursor
// Operations
Platform: |
Size: 2797 |
Author: sunrise |
Hits:
Description: Windows mobile下的透明控件(皮肤控件)
当前Windows mobile下的皮肤控件还很少,而且实现透明的更加少。本人曾经在Delphi开发过一套透明控件,于是决定把它移植到windows mobile系统下。在仿真器上和三星I718+上测试过,更换皮肤速度优化得相当快了,在Windows mobile下实属不易啊。
整套控件完全脱离MFC类,有自己的:CList、CString等组件类,所有控件由CWin这个透明窗体类派生,CWin派生CForm和CCtrl类,在CCtrl类上派生各个透明控件,有:CBtt(按钮控件)、CCheckBox、CRadioBox、CPanel、CLabel、CEdit、CWord、CPage、CGrid......,CApp为程序的应用类,担负了皮肤的加载等工作和处理系统消息的功能。
按钮控件有按下、放下、焦点、禁止四种状态,可以实现透明、半透明显示。图片可以是伸展方式或平铺方式显示,伸展方式可以自适应控件的大小。
Platform: |
Size: 451305 |
Author: agui |
Hits:
Description: 本程序从CStatic派生出CLabel,用于实现类似Visual Basic中的Label功能,支持文本内容改变、字体属性时钟、文本颜色、背景演示和边界风格等特征。
Platform: |
Size: 8454 |
Author: 赵建 |
Hits:
Description: CLabel支持文本内容改变、字体属性时钟、文本颜色、背景演示和边界风格等特征
Platform: |
Size: 32075 |
Author: 冯大为 |
Hits:
Description: 增强型静态标签Clabel-enhanced static labels Clabel
Platform: |
Size: 29354 |
Author: 张生强 |
Hits:
Description: 增强型静态标签Clabel-enhanced static labels Clabel
Platform: |
Size: 35840 |
Author: 张生强 |
Hits:
Description: 做用户界面的时候经常要用到一些静态文本控件,显示一些文字信息,但是 MFC 提供的 CStatic类的功能过于简单,无法满足高级需求。为此我从 CStatic 派生了一个类 CLabelEx,扩展了CStatic。第一次投稿,水平不足请大家见谅。-do the user interface, often have to use some static text control, showing some textual information, but the MFC CStatic functional categories are too simple, unable to meet senior needs. This, I CStatic derived from a type CLabelEx, expanded CStatic. The first drop, the level of inadequate Please be forgiven.
Platform: |
Size: 23552 |
Author: |
Hits:
Description: 一个可以改变static文本框字体、大小、颜色的类
enum FlashType {None, Text, Background }
class CLabel : public CStatic
{
// Construction
public:
CLabel()
CLabel& SetBkColor(COLORREF crBkgnd)
CLabel& SetTextColor(COLORREF crText)
CLabel& SetText(const CString& strText)
CLabel& SetFontBold(BOOL bBold)
CLabel& SetFontName(const CString& strFont)
CLabel& SetFontUnderline(BOOL bSet)
CLabel& SetFontItalic(BOOL bSet)
CLabel& SetFontSize(int nSize)
CLabel& SetSunken(BOOL bSet)
CLabel& SetBorder(BOOL bSet)
CLabel& FlashText(BOOL bActivate)
CLabel& FlashBackground(BOOL bActivate)
CLabel& SetLink(BOOL bLink)
CLabel& SetLinkCursor(HCURSOR hCursor)
// Attributes
public:
protected:
void ReconstructFont()
COLORREF m_crText
HBRUSH m_hBrush
HBRUSH m_hwndBrush
LOGFONT m_lf
CFont m_font
CString m_strText
BOOL m_bState
BOOL m_bTimer
BOOL m_bLink
FlashType m_Type
HCURSOR m_hCursor
// Operations-A static text box can change the font, size, color, class enum FlashType (None, Text, Background) class CLabel: public CStatic (//Constructionpublic: CLabel () CLabel
Platform: |
Size: 2048 |
Author: sunrise |
Hits:
Description: 各样式的标签装类(支持链接、3D效果、滚动等)-Each style category label installed (to support the link, 3D effects, rolling, etc.)
Platform: |
Size: 27648 |
Author: along |
Hits:
Description: Windows mobile下的透明控件(皮肤控件)
当前Windows mobile下的皮肤控件还很少,而且实现透明的更加少。本人曾经在Delphi开发过一套透明控件,于是决定把它移植到windows mobile系统下。在仿真器上和三星I718+上测试过,更换皮肤速度优化得相当快了,在Windows mobile下实属不易啊。
整套控件完全脱离MFC类,有自己的:CList、CString等组件类,所有控件由CWin这个透明窗体类派生,CWin派生CForm和CCtrl类,在CCtrl类上派生各个透明控件,有:CBtt(按钮控件)、CCheckBox、CRadioBox、CPanel、CLabel、CEdit、CWord、CPage、CGrid......,CApp为程序的应用类,担负了皮肤的加载等工作和处理系统消息的功能。
按钮控件有按下、放下、焦点、禁止四种状态,可以实现透明、半透明显示。图片可以是伸展方式或平铺方式显示,伸展方式可以自适应控件的大小。
Platform: |
Size: 450560 |
Author: agui |
Hits:
Description: 本程序从CStatic派生出CLabel,用于实现类似Visual Basic中的Label功能,支持文本内容改变、字体属性时钟、文本颜色、背景演示和边界风格等特征。-This procedure CStatic derived from CLabel, similar to Visual Basic used to realize the Label function, support text content change clock font attributes, text color, background and border style of presentation characteristics of the population.
Platform: |
Size: 8192 |
Author: 赵建 |
Hits:
Description: CLabel支持文本内容改变、字体属性时钟、文本颜色、背景演示和边界风格等特征-CLabel support to change the text, fonts, attributes the clock, text color, background and border style presentation features
Platform: |
Size: 31744 |
Author: 冯大为 |
Hits:
Description: 集成Clabel类,实现了多种标题的显示风格和样式。-Integrated Clabel class to achieve a variety of styles and style show title.
Platform: |
Size: 221184 |
Author: 辛朝焕 |
Hits:
Description: 基于VC和SQL server的高考填报系统-Based on VC and SQL server to complete the system of college entrance examination
Platform: |
Size: 500736 |
Author: MR zhou |
Hits:
Description: VC6下继承自CStatic的CLabel类,增加了多个CStatic所不支持的功能,几经考验并完善了不合适的处理模式,目前已经较为完善-Under VC6 the CLabel inherited from CStatic class, increasing the number of CStatic does not support the function, after several test and improve the inappropriate processing mode, has been a more perfect
Platform: |
Size: 4096 |
Author: 星夜心雨 |
Hits:
Description: CLabel class.Implementation of CLabel control
Platform: |
Size: 1024 |
Author: Kofan |
Hits:
Description: 一个关于静态文本框的各种使用,美化,以及各种效果展示,包含DEMO和引用文件-Use a variety of static text box, landscaping, and show a variety of effects, including DEMO and reference files
Platform: |
Size: 59392 |
Author: 靳韬 |
Hits:
Description: 【例6.4-1】本例演示:pcolor , contour, contourf的调用格式;等位线标高指令 clabel 的配合使用和区别;colorbar在用户指定位置上创建着色标尺;subplot子图位置的控制;图形窗背景底色的设置。(图6.4-1)-Example 6.4-1 This example demonstrates: pcolor, contour, contourf' s call format the bit line elevation instruction clabel of the used in conjunction with, and differences in the user-specified location colorbar create coloring ruler of the subplot subgraph location control graphics window Background background settings. (Figure 6.4-1)
Platform: |
Size: 60416 |
Author: tyanlisyun |
Hits:
Description: 静态文本控件扩展类,可以方便显示不同颜色文本。-Static text controls extension of the class, you can easily display different colors of text.
Platform: |
Size: 82944 |
Author: wangqm |
Hits:
Description: 静态文本类,可以实现文字的动态显示,以及改变颜色,字体大小-clabel class
Platform: |
Size: 3072 |
Author: xieming |
Hits: