Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Customize shell title bar
Customize shell title bar [message #1746844] Sat, 05 November 2016 22:43
Ludger Heisterkamp is currently offline Ludger HeisterkampFriend
Messages: 2
Registered: October 2015
Junior Member
Hello,

many Windows applications are using custom icons or other functions in their title bars (Explorer in Win10, MS Office, ...) . In SWT this is only possible by creating the shell with SWT.NO_TRIM style and drawing your own title bar.
Unfortunately, a NO_TRIM shell is lacking the standard windows features (automatic snapping of windows to left or right of the screen etc.) and I have not found a way to activate this behaviour manually.
Furthermore, a self made title bar takes a lot of work to simulate all the standard functions af a normal title bar (maximize, minimize, resize, move, shell icon, ...)

AFAIK, the standards SWT functions have no access to the title bar itself.
Has anyone an idea how to add the possibility to customize the standard title bar in SWT or by an external library or tool?

Kind regards,
Ludger
Previous Topic:macOS Sierra 10.12: Error on initializing Display with swt 4.6
Next Topic:OLE Automation in Java does not send e-mail from all computers
Goto Forum:
  


Current Time: Thu Dec 14 13:28:36 GMT 2017

Powered by FUDForum. Page generated in 0.01388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software