Technical Notes Database
TN1227D.txt Status line in a MDI Application.
Category :Pascal
Platform :All
Product :Turbo Pascal 1.0
Description:
To have a status line in an MDI application, override the windows MDI
WMSize method like this:
TGDIDemoWindow.WMSize(var Message: TMessage);
begin
TMDIWindow.WMSize(Message);
{Calculate the new size of the client area}
MoveWindow(ClientWnd^.HWindow, size of the new client area)
end;
This will keep the client window from obscuring your status line or other
controls you might like to have in your window.
Reference:
7/16/98 4:35:43 PM
Last Modified: 01-SEP-99