Board index » cppbuilder » width of a scrollbar
Totte Karlsson
![]() CBuilder Developer |
Totte Karlsson
![]() CBuilder Developer |
width of a scrollbar2008-02-23 08:27:39 AM cppbuilder110 Hi, In my application I need to change the width of a scrollbar. Wonder if anyone know a way to do it? I found code somewhere to change color of a Progressbar like this: SendMessage(ProgressBar1->Handle, PBM_SETBARCOLOR, 0, color); Thought there may be something similar for scrollbars? I searched for PBM_SETBARCOLOR, but can't find where it is defined... thanks totte |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2008-02-23 09:05:05 AM
Re:width of a scrollbar
"Totte Karlsson" < XXXX@XXXXX.COM >wrote in message
QuoteIn my application I need to change the width of a scrollbar. can then set its Width and Height properties as needed. QuoteI found code somewhere to change color of a Progressbar like this: directly. You can then draw your own background onto the provided HDC. QuoteI searched for PBM_SETBARCOLOR, but can't find where it is defined... |