欲 欲望DELPHI Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-11 #1 SHOW 出了一个窗体,但我想不能用鼠标移动它。SHOW 出来位置就固定,怎么实现
L lichengbin Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-11 #3 Trap WM_WINDOWPOSCHANGING or WM_MOVE message, message.Result := 1;
G gxf2002 Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-11 #5 procedure wmnchittest(var msg:Tmessage);Message WM_NCHITTEST; begin inherited; if Msg.result:=HTcaption then Msg.result:=HTclient; end;
procedure wmnchittest(var msg:Tmessage);Message WM_NCHITTEST; begin inherited; if Msg.result:=HTcaption then Msg.result:=HTclient; end;
落 落日边境 Unregistered / Unconfirmed GUEST, unregistred user! 2003-12-11 #6 既然固定,应该也不想别人能改变大小吧?直接把标题栏去掉好了。 用panel模拟一个更好的。 borderstyle:=bsNone;