Создать MDI окно с координатами 0,0
Falk0ner, вс, 06/07/2008 - 15:34.
Создать MDI окно с координатами 0,0
procedure TFormX.FormCreate(Sender: TObject);
Var
r: TRect;
client: HWND;
Begin
client := application.mainform.clienthandle;
Windows.GetClientRect( client, r );
MapWindowPoints( client, HWND_DESKTOP, r, 2 );
BoundsRect := r;
End;
Var
r: TRect;
client: HWND;
Begin
client := application.mainform.clienthandle;
Windows.GetClientRect( client, r );
MapWindowPoints( client, HWND_DESKTOP, r, 2 );
BoundsRect := r;
End;
Отправить комментарий