141.htm
来自「水木清华的BBS文章」· HTM 代码 · 共 42 行
HTM
42 行
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CTerm非常精华下载</title>
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="577">
<tr><td width="32%" rowspan="3" height="123"><img src="DDl_back.jpg" width="300" height="129" alt="DDl_back.jpg"></td><td width="30%" background="DDl_back2.jpg" height="35"><p align="center"><a href="http://bbs.tsinghua.edu.cn"><font face="黑体"><big><big>水木清华★</big></big></font></a></td></tr>
<tr>
<td width="68%" background="DDl_back2.jpg" height="44"><big><big><font face="黑体"><p align="center"> Delphi编程 (BM: strayli FlyingBoy) </font></big></big></td></tr>
<tr>
<td width="68%" height="44" bgcolor="#000000"><font face="黑体"><big><big><p align="center"></big></big><a href="http://cterm.163.net"><img src="banner.gif" width="400" height="60" alt="banner.gif"border="0"></a></font></td>
</tr>
<tr><td width="100%" colspan="2" height="454"> <p align="center">[<a href="index.htm">回到开始</a>][<a href="7.htm">上一层</a>][<a href="142.htm">下一篇</a>]
<hr><p align="left"><small>发信人: strayli (stray), 信区: Delphi <br>
标 题: Making a form selectable without the main form <br>
发信站: BBS 水木清华站 (Fri Sep 18 13:13:39 1998) <br>
<br>
KEYWORDS: form, top, select, desktop AREA: VCL Programming <br>
Q: How do I make it so that only the form I select comes to <br>
the top? (i.e. without the main form) <br>
A: Try this in any secondary window that you DON'T want <br>
dragging the program along: ... <br>
private {This goes in the for's type declaration.} { Private declarations } <br>
procedure CreateParams(VAR Params: TCreateParams); override; ... <br>
procedure TForm2.CreateParams(VAR Params: TCreateParams);begin <br>
Inherited CreateParams(Params); Params.WndParent := GetDesktopWindow;end; <br>
By setting the form's parent window handle to the <br>
desktop, you remove the link that would normally force the <br>
whole application to come to the top when this form comes tothe top. <br>
<br>
-- <br>
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: gps.auto.ustc.e] <br>
<br>
<br>
<br>
<br>
</small><hr>
<p align="center">[<a href="index.htm">回到开始</a>][<a href="7.htm">上一层</a>][<a href="142.htm">下一篇</a>]
<p align="center"><a href="http://cterm.163.net">欢迎访问Cterm主页</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?