forked from ThePacielloGroup/CCA-Win
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmPV.pas
42 lines (33 loc) · 792 Bytes
/
frmPV.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
unit frmPV;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, ExtCtrls, StdCtrls;
type
TpvForm = class(TForm)
ScrollBox1: TScrollBox;
Image1: TImage;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private 錾 }
public
{ Public 錾 }
protected
procedure CreateParams(var Params: TCreateParams); override;
end;
var
pvForm: TpvForm;
implementation
{$R *.dfm}
procedure TpvForm.CreateParams(var Params: TCreateParams);
begin
inherited;
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
Params.WndParent := GetDesktopWindow;
end;
procedure TpvForm.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Action := caFree;
pvForm := nil;
end;
end.