API - tamanho do iniciar

Top  Previous  Next

function TamanhoIniciar : Integer;

var

  Rc : TRect;

begin

  GetWindowRect( FindWindow( 'Shell_TrayWnd', nil ), Rc );

  Result := Rc.Bottom - Rc.Top;

end;