Thema: Delphi NonVCL Control resizen

Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#7

Re: NonVCL Control resizen

  Alt 5. Okt 2007, 11:09
Zitat von SirThornberry:
was gibt dir GetLastError zurück?
Keinen Fehler. Ja ich hab den Fehler aber gefunden. Er sitzt vorm Bildschirm -.-

Bei sowas wie:

SetWindowPos(Handle,0,0,0,NewWidth,OldHeight,SWP_NOMOVE or SWP_NOZORDER); Sollte man sichergehen das sowohl NewWidth als auch OldHeight >= 0 sind
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat