Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

O804 Fow windows message procedures

 Post Reply Post Reply
Author
Jura Lloyd View Drop Down
New Member
New Member
Avatar

Joined: 11 Oct 2016
Posts: 7
Post Options Post Options   Quote Jura Lloyd Quote  Post ReplyReply Direct Link To This Post Topic: O804 Fow windows message procedures
    Posted: 19 Apr 2017 at 11:09pm
Hi

I think following code should not report that 'Msg' is declared but never used, because you cannot remove Msg in this case.

TMyForm = class(TForm)
    procedure WmDisplayChange(var Msg: TMessage); message WM_DISPLAYCHANGE;
end;

...

procedure TMyForm.WmDisplayChange(var Msg: TMessage);
begin
  // some code not referencing Msg
end;
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down