?? getwindowlong.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>GetWindowLong</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"><a name="GetWindowLong">GetWindowLong</a></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="3">VB聲明</td>
</tr>
<tr>
<td width="102%" colspan="3">Declare Function GetWindowLong Lib "user32" Alias
"GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long</td>
</tr>
<tr>
<td width="102%" colspan="3">說明</td>
</tr>
<tr>
<td width="102%" colspan="3">從指定窗口的結(jié)構中取得信息</td>
</tr>
<tr>
<td width="102%" colspan="3">返回值</td>
</tr>
<tr>
<td width="102%" colspan="3">Long,由nIndex決定。零表示出錯。會設置<a
href="GetLastError.htm" tppabs="http://www.gxbcts.com/airfly/api/papi/GetLastError.htm">GetLastError</a></td>
</tr>
<tr>
<td width="102%" colspan="3">參數(shù)表</td>
</tr>
<tr>
<td width="25%">參數(shù)</td>
<td width="77%" colspan="2">類型及說明</td>
</tr>
<tr>
<td width="25%">hwnd</td>
<td width="77%" colspan="2">Long,欲為其獲取信息的窗口的句柄</td>
</tr>
<tr>
<td width="25%" rowspan="11">nIndex</td>
<td width="77%" colspan="2">Long,欲取回的信息,可以是下述任何一個常數(shù):</td>
</tr>
<tr>
<td width="37%">GWL_EXSTYLE</td>
<td width="38%">擴展窗口樣式</td>
</tr>
<tr>
<td width="37%">GWL_STYLE</td>
<td width="38%">窗口樣式</td>
</tr>
<tr>
<td width="37%">GWL_WNDPROC</td>
<td width="38%">該窗口的窗口函數(shù)的地址</td>
</tr>
<tr>
<td width="37%">GWL_HINSTANCE</td>
<td width="38%">擁有窗口的實例的句柄</td>
</tr>
<tr>
<td width="37%">GWL_HWNDPARENT</td>
<td width="38%">該窗口之父的句柄。不要用<a href="SetWindowWord.htm" tppabs="http://www.gxbcts.com/airfly/api/papi/SetWindowWord.htm">SetWindowWord</a>來改變這個值</td>
</tr>
<tr>
<td width="37%">GWL_ID</td>
<td width="38%">對話框中一個子窗口的標識符</td>
</tr>
<tr>
<td width="37%">GWL_USERDATA</td>
<td width="38%">含義由應用程序規(guī)定</td>
</tr>
<tr>
<td width="37%">DWL_DLGPROC</td>
<td width="38%">這個窗口的對話框函數(shù)地址</td>
</tr>
<tr>
<td width="37%">DWL_MSGRESULT</td>
<td width="38%">在對話框函數(shù)中處理的一條消息返回的值</td>
</tr>
<tr>
<td width="37%">DWL_USER</td>
<td width="38%">含義由應用程序規(guī)定</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"><a href="#GetWindowLong">Top</a></td>
</tr>
</table>
</center></div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -