11123.html
来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 27 行
HTML
27 行
<html>
<head>
<title>Re: try it...</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: try it...</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by Fred Tsai on March 18, 1999 at 21:35:16:<p>
In Reply to: <a href="11082.html">try it...</a> posted by wei on March 18, 1999 at 03:23:47:<p>
: 'Put these lines in global module<br>: Option Explicit<br>: 'For access help file<br>: Declare Function WinHelp Lib "user32" Alias "WinHelpA" (ByVal hWnd As Long, ByVal lpHelpFile As String, ByVal wCommand As Long, ByVal dwData As Long) As Long<br>: Public Const HELP_TAB = &HF<br>: Public Const cdlHelpContext = 1<p>: 'In your form module<br>: <br>: Dim x<p>: 'View help context<br>: x = WinHelp(hWnd,"Sample.hlp",cdlHelpContext,100) <p>: 'View find<br>: x = WinHelp(hWnd, "Sample.hlp", HELP_TAB, -1)<p>: 'View Index<br>: x = WinHelp(hWnd, "Sample.hlp", HELP_TAB, -2)<br>谢谢你的说明<br>可不可以在请教一下<br>我去参考别人的写法,他用SendKeys "{F1}"<br>即可以叫出说明档<br>我如法炮制可是为什么我的说明档是Show出在原先的视窗下面??<p><br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 11123-->
<!--top: 11132--><li><a href="11132.html">Set Window position...</a> <b>wei</b> <i>03:51:36 3/19/99</i>
(<!--responses: 11132-->0)
<ul><!--insert: 11132-->
</ul><!--end: 11132-->
</ul><!--end: 11123-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?