Windows 7 SWT Table selected row highlight color

前端 未结 1 1850
青春惊慌失措
青春惊慌失措 2021-01-18 07:08

Is there a way to set the background color of a highlighted row of a SWT Table (FULL_SELECTION style) in Windows 7\'s Aero theme? It appears that it\'s a derived, lighter co

相关标签:
1条回答
  • 2021-01-18 07:40

    According to SWT Win32 source file, exactly line 1611

    if ((style & SWT.FULL_SELECTION) != 0) bits1 |= OS.LVS_EX_FULLROWSELECT;
    

    the graphics style of SWT.FULL_SELECTION is get directly from OS (for LVS_EX_FULLROWSELECT see Extended List-View Styles on MSDN).

    So it's not possible to change the style..

    0 讨论(0)
提交回复
热议问题