Welcome!
[Sign In]
!
[Sign Up]
!
Front-page it
|
Collect it
| [
中国-简体中文
]
CodeBus
codebus.net
Hot search:
Source
embeded
web
remote control
p2p
game
More...
FAQ
Fav
Home
SourceCode
Web Code
Develop Tools
Document
E-Books
Other Resource
Get Coins
Member
Location:
Search - Access static font color in label box
Category
Source Code
Web/Internet
Develop Tools
Document
Other
Search in results
OS
Windows
Linux
FreeBSD
Unix
Dos
PalmOS
WinCE
SymbianOS
MacOS
Android
Platform
Visual C
Visual.Net
Borland C
CBuilder
Dephi
gcc
VBA
LISP
IDL
VHDL
Matlab
MathCAD
Flash
Xcode
Android STU
LabVIEW
Language
C/C++
Pascal
ASM
Java
PHP
Basic/ASP
Perl
Python
VBScript
JavaScript
SQL
FoxBase
SHELL
E-Language
OC/Swift
File Type
SourceCode
Program
CHM
PDF
PPT
WORD
Excel
Access
HTML
Text
Search list
[
Button control
]
label
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:
Sign UP
Help
Support
What's CodeBus
SiteMap
Contact us
CodeBus www.codebus.net
“CodeBus” is the largest source code store in internet!
1999-2018
CodeBus
All Rights Reserved.