View Single Post
Old 7th February 2017, 14:49   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,926
It is probably not possible to change the color when Visual Styles are on using normal Windows messages/functions.

There is a WM_CTLCOLORSCROLLBAR message but it only changes the background and does not work with most scrollbars:

The WM_CTLCOLORSCROLLBAR message is used only by child scroll bar controls. Scrollbars attached to a window (WS_SCROLL and WS_VSCROLL) do not generate this message. To customize the appearance of scrollbars attached to a window, use the flat scroll bar functions.
You can read about flat scrollbars @ but it is not going to give you the results you are looking for.

To actually get what you want you have to use the SkinnedControls_plug-in or create a custom plug-in and do the drawing yourself, can probably help you out.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote