本文整理自网络,侵删。
if CheckBox1.Checked then
SetWindowPos(Handle,HWND_TOPMOST,0,0,0,0,SWP_NOSIZE + SWP_NOMOVE)
else
SetWindowPos(Handle,HWND_NOTOPMOST,0,0,0,0,SWP_NOSIZE + SWP_NOMOVE);
end;
相关阅读 >>
Delphi opendialog1 savedialog1 默认路径
Delphi incyear、incmonth、incweek、incday、inchour、incminute、incsecond、incmillisecond �c 增时
更多相关阅读请进入《Delphi》频道 >>