mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 01:49:25 +02:00
LCL: Assign parameters in LCLSendShowWindowMsg. Issue #40212, patch by Alexey Torgashin.
This commit is contained in:
parent
74cd012d9c
commit
cacdbc65f4
@ -222,11 +222,12 @@ end;
|
||||
function LCLSendShowWindowMsg(const Target: TControl; Show: Boolean;
|
||||
Status: LPARAM = 0): PtrInt;
|
||||
var
|
||||
Mess : TLMShowWindow;
|
||||
Mess : TLMShowWindow;
|
||||
begin
|
||||
FillChar(Mess,SizeOf(Mess),0);
|
||||
Mess.Msg := LM_SHOWWINDOW;
|
||||
Mess.Show := True;
|
||||
Mess.Show := Show;
|
||||
Mess.Status := Status;
|
||||
|
||||
Result := DeliverMessage(Target, Mess);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user