Delphi窗体重划,激活窗体,应用于窗体显示置顶。

  F_main.WindowState :=  wsnormal;//窗体正常化
  //窗体重划,激活窗体
  Application.Restore;
  SetForegroundWindow(Handle);

猜你喜欢

转载自blog.csdn.net/MY128/article/details/80577996