Delphi 实现任务栏多窗口图标显示

Posted on 2011-08-04 13:46  严武  阅读(683)  评论(0编辑  收藏  举报

uses
  Windows;

type
  TfrmLogin = class(TForm)

 end;


implementation

{$R *.dfm}


procedure TfrmLogin.FormCreate(Sender: TObject);

begin

     SetWindowLong(Handle,GWL_EXSTYLE,(GetWindowLong(handle,GWL_EXSTYLE) or WS_EX_APPWINDOW));

end;

Copyright © 2024 严武
Powered by .NET 9.0 on Kubernetes