Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi PBM_SETBARCOLOR ? (https://www.delphipraxis.net/103146-pbm_setbarcolor.html)

nitschchedu 11. Nov 2007 11:36


PBM_SETBARCOLOR ?
 
Hallo,
also ich habe schon über all nachgeschaut und alle wollen mir sagen das das so geht
Delphi-Quellcode:
uses CommCtrl, ...
...
// Set Background color
ProgressBar1.Brush.Color := clRed;
// Set Bar color
SendMessage(ProgressBar1.Handle, PBM_SETBARCOLOR, 0, clBlue) ;
aber mein Dalphi kennt die "PBM_SETBARCOLOR" nicht, habe alle Units durchsuchen lassen und nix von der "PBM_SETBARCOLOR" zusehen :wall: .
Kann mir jemand sagen was auf "PBM_SETBARCOLOR" steht ?

Muetze1 11. Nov 2007 11:58

Re: PBM_SETBARCOLOR ?
 
Delphi-Quellcode:
const
  PBM_SETBARCOLOR = WMUSER + 9;

nitschchedu 11. Nov 2007 12:05

Re: PBM_SETBARCOLOR ?
 
Ok danke ;-)


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz