?? getboundsrect.htm
字號:
<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>GetBoundsRect</title>
</head>
<body 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">GetBoundsRect</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 GetBoundsRect Lib "gdi32" Alias
"GetBoundsRect" (ByVal hdc As Long, lprcBounds As RECT, ByVal flags As Long) As
Long</td>
</tr>
<tr>
<td width="100%" colspan="2">說明</td>
</tr>
<tr>
<td width="100%" colspan="2">獲取指定設(shè)備場景的邊界矩形。每個設(shè)備場景都有一個邊界矩形,程序員可用它來堆放表示當前圖象邊界的信息</td>
</tr>
<tr>
<td width="100%" colspan="2">返回值</td>
</tr>
<tr>
<td width="100%" colspan="2">Long,出錯為0,否則為下列常數(shù)之一:<br>
DCB_SET:邊界矩形非空<br>
DCB_RESET:邊界矩形為空<br>
DCB_ENABLE:邊界矩形正被堆放<br>
DCB_DISABLE:邊界矩形當前沒有被堆放</td>
</tr>
<tr>
<td width="100%" colspan="2">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="75%">類型及說明</td>
</tr>
<tr>
<td width="25%">hdc</td>
<td width="75%">Long,邊界矩形對應(yīng)的設(shè)備場景</td>
</tr>
<tr>
<td width="25%">lprcBounds</td>
<td width="75%"><a href="RECT.htm">RECT</a>,裝載設(shè)備場景hdc的當前邊界矩形</td>
</tr>
<tr>
<td width="25%">flags</td>
<td width="75%">Long,可設(shè)為常數(shù)DCB_RESET以清除邊界矩形,否則設(shè)為零</td>
</tr>
<tr>
<td width="100%" colspan="2">注解</td>
</tr>
<tr>
<td width="100%" colspan="2"><p align="left">詳情參考<a href="SetBoundsRect.htm">SetBoundsRect</a></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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -