T
terry_zhou82
Unregistered / Unconfirmed
GUEST, unregistred user!
我想在APPLICATION最小化缩放在任务栏的时候,改变APPLICATION的TITLE值,在PROJECT菜单里面弄不行,不能动态的改,另外因为我有个函数,是要统计总的记录数,并且显示在TITLE的值里面。改怎么写呢?最小化到任务栏的代码如下procedure TForm1.ToolButton7Click(Sender: TObject)
begin Application.MainForm.Visible := False
if IsWindowVisible(Application.Handle) then ShowWindow(Application.Handle, SW_HIDE )
end;
begin Application.MainForm.Visible := False
if IsWindowVisible(Application.Handle) then ShowWindow(Application.Handle, SW_HIDE )
end;