窗口默认是可以移动的,如何做才能禁止窗口移动?
解决方案 »
- delphi中findfirst函数中文SearchRec.Name<>'.'和SearchRec.Name<>'..'是什么意思
- delphi的菜单不让他加快捷键有办法没有?
- 关于制作登陆界面,连接远程数据库的时机问题!
- 求助!通过字符串中的分界符,把一列分为多列!
- 如何判断winsock的客户端已经异常中断
- 外部终止一个正在执行的function?向一个正在执行的function 抛 异常?
- 在对一个数据集做遍历或循环操作时,不想使数据感知控件(如DBGrid)显示数据怎么办?
- 运行状态拖动控件的问题
- 严重抗议:SydPink(希望不再敲键盘!)insert2003(高级打字员)进来
- 大家都来讨论一下吧!!!好奇怪的问题呀!!!!
- 求救,如何将word文件内容转化为文本文件?
- 大侠救命:我把一个线程的public变量付给另一个线程的变量(也是公有变量)就出错了
begin
if (top = 0) and (left = 0) then
pwindowpos(tmessage(message).lparam).flags := pwindowpos(tmessage(message).lparam).flags or
swp_nomove; //
if ((width = screen.Width) or (width = 2 * screen.Width)) and (height = screen.Height) then
pwindowpos(tmessage(message).lparam).flags := pwindowpos(tmessage(message).lparam).flags or swp_nosize;end;
// 1.禁止移動
// 2.禁止拖拉...
就行了
begin
self.Align:=alcustom;
end;