首页 > 代码库 > 停留在窗体下面

停留在窗体下面

停留在窗体下面 处于
force my form to stay on the bottom?


unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
  private
    { Private declarations }
    procedure WMNCActivate(var Msg: TWMNCActivate ); message WM_NCACTIVATE;
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}
procedure TForm1.WMNCActivate(var Msg: TWMNCActivate );
begin
  Msg.Result:=0;
end;

end.


来自为知笔记(Wiz)