I am working on the Ribbonbar class. I am trying to make the ribbon color solid instead of gradient (Windows 10 uses solid colors). There is brush defined like this in the class:
::hBmpBrushEx = GradientBmp( Self, ::nRight - ::nRightMargin - 3, ::nBottom - ::nTopMargin + 1, ::aGrad )
::hBrushEx = CreatePatternBrush( ::hBmpBrushEx )
::aGrad is defined in the class like this:
::aGrad := { { 1, RGB( 255, 255, 255 ), RGB( 255, 255, 255 ) } }
One would think that this would be a solid color but no, it is a gradient. I have tried changing the RGB values and I see no change in the ribbonbar color or gradient. I have never had a reason to work with brushes before so I know next to nothing about them.
Maybe I don't even need to use a brush?
I can find no documentation on brushes except in C.
Any ideas?