Thema: Delphi ProgressBar

Einzelnen Beitrag anzeigen

Benutzerbild von Wormid
Wormid

Registriert seit: 26. Aug 2003
Ort: Steinfurt
292 Beiträge
 
Delphi XE2 Professional
 
#12

Re: ProgressBar

  Alt 17. Okt 2003, 18:37
Das kann gar nicht funzen mit Werten größer High(Integer)!
Kuckst Du hier: http://msdn.microsoft.com/library/en...ss_Bar_Control

Zitat von MSDN:
Progress bar controls now support 32-bit range values. To set range values in excess of 65,535, use the PBM_SETRANGE32 message. To retrieve 32-bit range values, use the PBM_GETRANGE message. The progress bar high limit, low limit, and position parameters are signed integers. To make full use of the 32-bit range, set the range to -0x7FFFFFFF to 0x7FFFFFFF and treat the position as a signed integer.
Und PBM_SETRANGE32 ist genau die Message, die die TProgressBar aus D6 durch die Gegend postet, wenn man den Max oder Min-Wert ändert. (Und unter D7 dürfte es auch nicht gehen, da ja das Control das von Windows her gar nicht kann...)


Debuggers don't remove Bugs, they only show them in Slow-Motion.
  Mit Zitat antworten Zitat