[Code]
const
GWL_STYLE = (-16);
WS_CAPTION = $C00000;
//WS_CAPTION = $B00000;
function GetWindowLong(Wnd: HWnd; Index: Integer): Longint;
external *GetWindowLongA@user32.dll stdcall*;
function SetWindowLong(Wnd: HWnd; Index: Integer; NewLong: Longint): Longint;
external *SetWindowLongA@user32.dll stdcall*;
Procedure InitializeWizard();
begin
WizardForm.AutoScroll := False;
WizardForm.ClientHeight := ScaleY(335);
WizardForm.ClientWidth := ScaleX(489);
SetWindowLong(WizardForm.Handle, GWL_STYLE,
GetWindowLong(WizardForm.Handle, GWL_STYLE) and not WS_CAPTION);
end;
const
GWL_STYLE = (-16);
WS_CAPTION = $C00000;
//WS_CAPTION = $B00000;
function GetWindowLong(Wnd: HWnd; Index: Integer): Longint;
external *GetWindowLongA@user32.dll stdcall*;
function SetWindowLong(Wnd: HWnd; Index: Integer; NewLong: Longint): Longint;
external *SetWindowLongA@user32.dll stdcall*;
Procedure InitializeWizard();
begin
WizardForm.AutoScroll := False;
WizardForm.ClientHeight := ScaleY(335);
WizardForm.ClientWidth := ScaleX(489);
SetWindowLong(WizardForm.Handle, GWL_STYLE,
GetWindowLong(WizardForm.Handle, GWL_STYLE) and not WS_CAPTION);
end;
