Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Menubar and scrollbar theming

Hi all,

(Most likely) Because of the limitations of the commercial operating systems people increasingly demand applications that support dark themes (neither OS X nor the latest Windows versions provide means to customize the GUI control colors).

I've tried to implement it as good as possible with the current SWT API: <http://www.syntevo.com/smartgit/version-17/dark-theme.png>

Unfortunately, some parts are not yet customizable:
- the toolbar does not use the set foreground color (bug 508033)
- table headers don't use the table's background and foreground colors (bug 449475) - menubars (and menus) don't allow to set any color (and don't inherit it from the shell)
- scrollbars don't inherit the colors from their belonging control

Is there someone who has enough Win32-API-knowledge to confirm whether setting colors for menubars or scrollbars is supported by the Win32-API?

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog


Back to the top