Michel TORREILLES wrote:
> Hello !
>
> I want to have a picture in the background of a parent MDI Form.
> can somebody help me!
> Thanks by addvance
> Michel
(Remark: This won’t work properly on MDI-Parents)
Something like:
[code lang=”delphi”]protected
procedure WMEraseBkgnd(var Message: TWmEraseBkgnd); message
WM_ERASEBKGND;
….
procedure TparentMDIForm.WMEraseBkgnd(var Message: TWmEraseBkgnd);
begin
Canvas.Draw(0,0,ABitMap);
Message.Result := 1;
end;
[/code]
[tags]Delphi, Forms[/tags]
0 Kommentare zu “Bitmap on Background”