?? enumfontfamiliesex.htm
字號(hào):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style><!--
body,table {font-family:"宋體"; font-size: 9pt; line-height:11pt;}
a {text-decoration:none} a:hover {color:red;text-decoration:underline}
--></style>
<title>EnumFontFamiliesEx</title>
</head>
<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor=#E2DEE9>
<div align="center"><center>
<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="16">EnumFontFamiliesEx</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
<tr>
<td width="100%" colspan="2">VB聲明</td>
</tr>
<tr>
<td width="100%" colspan="2">Declare Function EnumFontFamiliesEx Lib "gdi32"
Alias "EnumFontFamiliesExA" (ByVal hdc As Long, lpLogFont As LOGFONT, ByVal
lpEnumFontProc As Long, ByVal lParam As Long, ByVal dw As Long) As Long</td>
</tr>
<tr>
<td width="100%" colspan="2">說(shuō)明</td>
</tr>
<tr>
<td width="100%" colspan="2">根據(jù)一個(gè)LOGFONT結(jié)構(gòu)提供的信息,列舉指定設(shè)備可用的字體</td>
</tr>
<tr>
<td width="100%" colspan="2">返回值</td>
</tr>
<tr>
<td width="100%" colspan="2">Long,由回調(diào)函數(shù)返回的前一個(gè)值</td>
</tr>
<tr>
<td width="100%" colspan="2">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="75%">類型及說(shuō)明</td>
</tr>
<tr>
<td width="25%">hdc</td>
<td width="75%">Long,設(shè)備場(chǎng)景的句柄</td>
</tr>
<tr>
<td width="25%">lpLogFont</td>
<td width="75%">LOGFONT,這個(gè)結(jié)構(gòu)指定了欲枚舉的字體。此時(shí)用到的字段包括:lfCharSet,
lfFaceName 和 lfPitchAndFamily。其他所有字段都會(huì)忽略</td>
</tr>
<tr>
<td width="25%">lpEnumFontFamProc</td>
<td width="75%">Long,欲調(diào)用的函數(shù)地址。這個(gè)地址是用 AddressOf
運(yùn)算符為來(lái)自一個(gè)標(biāo)準(zhǔn)模塊的函數(shù)進(jìn)行操作,或者利用某個(gè)回調(diào)控件得到</td>
</tr>
<tr>
<td width="25%">lParam</td>
<td width="75%">Long,指定希望傳遞給回調(diào)函數(shù)的一個(gè)用戶自定義值</td>
</tr>
<tr>
<td width="25%">dw</td>
<td width="75%">Long,保留,設(shè)為零</td>
</tr>
<tr>
<td width="100%" colspan="2">注解</td>
</tr>
<tr>
<td width="100%" colspan="2"><p align="left">參見(jiàn)<a href="EnumFontFamilies.htm" tppabs="http://www.gxbcts.com/airfly/api/papi/EnumFontFamilies.htm">EnumFontFamilies</a>函數(shù)的注解</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><p align="right">Top</td>
</tr>
</table>
</center></div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -