⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctr_msg3.htm

📁 常用windows API函数
💻 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>控件和消息类3</title>
</head>

<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">

<table border="0" width="100%" cellspacing="4" cellpadding="6">
  <tr>
    <td width="100%" bgcolor="#336699"><font color="#FFFFFF">控件与消息函数:共六页。</font><a
    href="ctr_msg1.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ctr_msg1.htm"><font color="#FFFF00">第一页</font></a><font color="#FFFFFF">,</font><a
    href="ctr_msg2.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ctr_msg2.htm"><font color="#FFFF00">第二页</font></a><font color="#FFFFFF">,第三页,</font><a
    href="ctr_msg4.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ctr_msg4.htm"><font color="#FFFF00">第四页</font></a><font color="#FFFFFF">,</font><a
    href="ctr_msg5.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ctr_msg5.htm"><font color="#FFFF00">第五页</font></a><font color="#FFFFFF">,</font><a
    href="ctr_msg6.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/ctr_msg6.htm"><font color="#FFFF00">第六页</font></a></td>
  </tr>
</table>

<table border="0" width="100%" cellspacing="3" cellpadding="2">
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetForegroundWindow.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetForegroundWindow.htm">GetForegroundWindow</a></td>
    <td width="75%" bgcolor="#efefda">获得前台窗口的句柄</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetLastActivePopup.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetLastActivePopup.htm">GetLastActivePopup</a></td>
    <td width="75%" bgcolor="#efefda">获得在一个给定父窗口中最近激活过的弹出式窗口的句柄</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetParent.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetParent.htm">GetParent</a></td>
    <td width="75%" bgcolor="#efefda">判断指定窗口的父窗口</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetTopWindow.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetTopWindow.htm">GetTopWindow</a></td>
    <td width="75%" bgcolor="#efefda">搜索内部窗口列表,寻找隶属于指定窗口的头一个窗口的句柄</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetUpdateRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetUpdateRect.htm">GetUpdateRect</a></td>
    <td width="75%" bgcolor="#efefda">获得一个矩形,它描叙了指定窗口中需要更新的那一部分</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindow.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindow.htm">GetWindow</a></td>
    <td width="75%" bgcolor="#efefda">获得一个窗口的句柄,该窗口与某源窗口有特定的关系</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowContextHelpId.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowContextHelpId.htm">GetWindowContextHelpId</a></td>
    <td width="75%" bgcolor="#efefda">取得与窗口关联在一起的帮助场景ID</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowLong.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowLong.htm">GetWindowLong</a></td>
    <td width="75%" bgcolor="#efefda">从指定窗口的结构中取得信息</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowPlacement.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowPlacement.htm">GetWindowPlacement</a></td>
    <td width="75%" bgcolor="#efefda">获得指定窗口的状态及位置信息</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowRect.htm">GetWindowRect</a></td>
    <td width="75%" bgcolor="#efefda">获得整个窗口的范围矩形,窗口的边框、标题栏、滚动条及菜单等都在这个矩形内</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowText.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowText.htm">GetWindowText</a></td>
    <td width="75%" bgcolor="#efefda">取得一个窗体的标题(caption)文字,或者一个控件的内容</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowTextLength.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowTextLength.htm">GetWindowTextLength</a></td>
    <td width="75%" bgcolor="#efefda">调查窗口标题文字或控件内容的长短</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="GetWindowWord.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/GetWindowWord.htm">GetWindowWord</a></td>
    <td width="75%" bgcolor="#efefda">获得指定窗口结构的信息</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="InflateRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/InflateRect.htm">InflateRect</a></td>
    <td width="75%" bgcolor="#efefda">增大或减小一个矩形的大小</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="IntersectRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/IntersectRect.htm">IntersectRect</a></td>
    <td width="75%" bgcolor="#efefda">这个函数在lpDestRect里载入一个矩形,它是lpSrc1Rect与lpSrc2Rect两个矩形的交集</td>
  </tr>
  <tr>
    <td width="25%" bgcolor="#efefda"><a href="InvalidateRect.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/InvalidateRect.htm">InvalidateRect</a></td>
    <td width="75%" bgcolor="#efefda">屏蔽一个窗口客户区的全部或部分区域</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -