Einzelnen Beitrag anzeigen

Benutzerbild von Flocke
Flocke

Registriert seit: 9. Jun 2005
Ort: Unna
1.172 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

Re: Ist es möglich die Scrollbar in MDI-Form abzuschalten ?

  Alt 17. Feb 2006, 06:43
Es könnte so gehen (nicht ausprobiert):
Delphi-Quellcode:
SetWindowLong(Form1.ClientHandle, GWL_STYLE,
  GetWindowLong(Form1.ClientHandle, GWL_STYLE) and (not (WS_HSCROLL or WS_VSCROLL)));
SetWindowPos(Form1.ClientHandle, 0, 0, 0, 0, 0, SWP_FRAMECHANGED or
  SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE or SWP_NOZORDER);
"Form1" durch den Namen des MDI-Hauptformulars ersetzen.
Volker
Besucht meine Garage
Aktuell: RtfLabel 1.3d, PrintToFile 1.4
  Mit Zitat antworten Zitat