delphi 隐藏窗口代码

var
    win: longint;
begin
    win := getforegroundwindow; //获取当前窗体的句柄
    showwindow(win, SW_HIDE); //隐藏窗体
end;
posted @ 2016-06-04 10:06  phzend  阅读(452)  评论(0编辑  收藏  举报