Community
Participate
Working Groups
see attached image. i would like to set the toolbar background to White in this case.
Created attachment 16353 [details] toolbar on top right is grey while code calls setbackground
Is the SWT control setBackground (org.eclipse.swt.custom.CLabel)? What is the underlying Carbon API?
The SWT widget in this case is org.eclipse.swt.widgets.ToolBar. This is created in Carbon using CreateUserPaneControl and CreateIconControl for each item in the toolbar.
In non-compositing mode, most (if not all) of our controls will erase before they draw. The icon control is no exception. A client that wants to customize the background that a control uses to erase in non- compositing mode should use SetControlColorProc.
Fixed > 20050520.