网站首页  计算机词典

请输入您要查询的字词:

 

字词 gettextcolor
释义 GetTextColor
语法:
COLORREF GetTextColor(
__in HDC hdc
);
GetTextColor功能
该GetTextColor函数检索指定的设备环境的当前文本颜色。
参数
hdc [in]
句柄设备上下文。
返回值
如果函数成功,返回值是一个COLORREF值当前文本颜色。
如果函数失败,返回值是CLR_INVALID。没有扩展的错误信息是可用。
备注
文本颜色定义的字符前景色使用TextOut或ExtTextOut函数绘制。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
字体和文字概述
字体和文本函数
ExtTextOut
SetTextColor
TextOut
COLORREF
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetTextColor Function
The GetTextColor function retrieves the current text color for the specified device context.
Syntax
COLORREF GetTextColor(
__in HDC hdc
);
Parameters
hdc [in]
Handle to the device context.
Return Value
If the function succeeds, the return value is the current text color as a COLORREF value.
If the function fails, the return value is CLR_INVALID. No extended error information is available.
Remarks
The text color defines the foreground color of characters drawn by using the TextOut or ExtTextOut function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Fonts and Text Overview
Font and Text Functions
ExtTextOut
SetTextColor
TextOut
COLORREF
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144934(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:42:00