?? drawescape.htm
字號(hào):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style><!--
body,table {font-family:"宋體"; font-size: 9pt; line-height:11pt;}
a {text-decoration:none} a:hover {color:red;text-decoration:underline}
--></style>
<title>DrawEscape</title>
</head>
<body background="../../../images/gray_weave.gif" link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">
<div align="center"><center>
<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="16">DrawEscape</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
<tr>
<td width="102%" colspan="2">VB聲明</td>
</tr>
<tr>
<td width="102%" colspan="2">Declare Function DrawEscape Lib "gdi32" Alias
"DrawEscape" (ByVal hdc As Long, ByVal nEscape As Long, ByVal cbInput As Long,
ByVal lpszInData As String) As Long</td>
</tr>
<tr>
<td width="102%" colspan="2">說(shuō)明</td>
</tr>
<tr>
<td width="102%" colspan="2">換碼(Escape)函數(shù)將數(shù)據(jù)直接發(fā)至顯示設(shè)備驅(qū)動(dòng)程序(在vb里使用:能夠使用。但由于Escape對(duì)設(shè)備有較強(qiáng)的依賴性,所以除非萬(wàn)不得以,盡量不要用它)</td>
</tr>
<tr>
<td width="102%" colspan="2">返回值</td>
</tr>
<tr>
<td width="102%" colspan="2">Long,非零表示成功,零表示錯(cuò)誤(QUERYESCSUPPORT換碼例外;返回TRUE表示支持特定的換碼;否則返回零)</td>
</tr>
<tr>
<td width="102%" colspan="2">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="77%">類型及說(shuō)明</td>
</tr>
<tr>
<td width="25%">hdc</td>
<td width="77%">Long,顯示設(shè)備的設(shè)備場(chǎng)景</td>
</tr>
<tr>
<td width="25%">nEscape</td>
<td width="77%">Long,指定欲執(zhí)行的換碼的一個(gè)常數(shù)</td>
</tr>
<tr>
<td width="25%">cbInput</td>
<td width="77%">Long,輸入緩沖區(qū)的長(zhǎng)度</td>
</tr>
<tr>
<td width="25%">lpszInData</td>
<td width="77%">String,輸入字串或緩沖區(qū)</td>
</tr>
<tr>
<td width="102%" colspan="2">注解</td>
</tr>
<tr>
<td width="102%" colspan="2"><p align="left">可用QUERYESCSUPPORT換碼判斷一個(gè)特定的換碼是否得到當(dāng)前顯示驅(qū)動(dòng)程序的支持</td>
</tr>
</table>
</center></div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -