A: Painting to a form's caption

In a message dated 10/08/97 10:08:41 GMT, you write:

<< I guess an override of the WndProc
 might do the trick. Any ideas ? >>

 Right again Frank! Yes I was afraid there might be a small problem with
the OnPaint handler - of course it is only dealing with client area
painting, whereas the WndProc receives WM_NCXXX messages as well. So:

1. Stick this in the form's type declaration
procedure WndProc(var Message: TMessage); override;

2. Add this to the implementation:
procedure TForm1.WndProc(var Message: TMessage);
begin
  TextOut(WholeWindowHandle,0,0,PChar('Frank'),5);
  inherited WndProc(Message);
end;

Let me know how you get on

Charles Johnson