Hi,
nein, nein das mit dem WM_PAINT stimmt nicht:
Delphi-Quellcode:
TControl = class
protected
procedure DoPaint; virtual;
end;
procedure TControl.DoPaint;
begin
// <--- Leer
end;
procedure TControl.WndProc(var Message: TMessage);
begin
case Message.Msg of
WM_PAINT: begin
if FVisible then
DoPaint;
end;
end;
end;
So ist das doch Ok oder nicht?
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."