⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hint.pas

📁 热血江湖游戏辅助工具原代码 学习delphi开发游戏外挂的好例子
💻 PAS
字号:
unit Hint;

interface

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

type
  TFrmHint = class(TForm)
    LabHint: TRzLabel;
    procedure FormCreate(Sender: TObject);
    procedure LabHintClick(Sender: TObject);
    procedure FormShow(Sender: TObject);
    procedure FormHide(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmHint: TFrmHint;

implementation

{$R *.dfm}

procedure TFrmHint.FormCreate(Sender: TObject);
//var ExStyle:longint;
begin
{ExStyle:=GetWindowLong(FrmHint.Handle,GWL_EXSTYLE);
SetWindowLong(FrmHint.Handle,GWL_EXSTYLE,ExStyle And WS_EX_LAYERED);
SetLayeredWindowAttributes(FrmHint.Handle,0,200,2);
LabHint.Caption:=HintMessage;}
end;

procedure TFrmHint.LabHintClick(Sender: TObject);
begin
Self.Hide;
end;

procedure TFrmHint.FormShow(Sender: TObject);
begin
HintShow:=True;
end;

procedure TFrmHint.FormHide(Sender: TObject);
begin
HintShow:=False;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -