?? hint.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 + -