发信人: kingron@GZ()
整理人: teleme(2001-05-31 20:33:24), 站内信件
|
标 题: Re: how to make a form cant not be moved? 发信站: 网易 BBS (Sat Oct 14 12:31:18 2000), 转信
回复:如何使一个窗口无法移动: 在窗体的Private部分声明: procedure wmnchittest(var msg:Tmessage);message wm_nchittest; 然后添加如下代码: procedure TForm1.wmnchi ttest(var msg:tmessage); begin inherited; msg.result:=htclient; end; 【 在 netcharm (书中痴) 的大作中提到: 】 : 【 在 limodou (木头) 的大作中提到: 】 : : 【 在 chtoph (丰) 的大作中提到: 】 : : : : : : 设置边界风格borderstyle:=bsnone就可以了。 : : ....... : : 这个是不可改变大小.
-- ※ 来源:.网易 BBS bbs.netease.com.[FROM: 61.137.31.161]
|
|