Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding new icon to Title Bar
Adding new icon to Title Bar [message #544017] Thu, 01 July 2010 11:17 Go to next message
balcerman  is currently offline balcerman Friend
Messages: 17
Registered: March 2010
Junior Member
Hello,

I'd like to add a new button before 3 windows buttons in the top right corner (minimize, maximize and close) and make it look similar to them. Is it possible? How to do that?


Now it looks like that:

[ _ ] [ O ] [ X ]

(I can't find a square on my keyboard so I put an 'O'...)


I want it to look like that:

[ ? ] [ _ ] [ O ] [ X ]
Re: Adding new icon to Title Bar [message #544794 is a reply to message #544017] Mon, 05 July 2010 14:27 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

SWT Shells don't support this, and these decorations cannot be added
after-the-fact, because they're given to win32 at shell creation time.

If you really really want this then you can try making some native calls to
create your own shell, and then wrap it in an SWT Shell by invoking
Shell.internal_new(...). Note that this method is considered to be non-api
and win32-specific.

HTH,
Grant


"balcerman" <balcerman@wp.pl> wrote in message
news:i0htg6$uls$1@build.eclipse.org...
> Hello,
>
> I'd like to add a new button before 3 windows buttons in the top right
> corner (minimize, maximize and close) and make it look similar to them. Is
> it possible? How to do that?
>
>
> Now it looks like that:
>
> [ _ ] [ O ] [ X ]
>
> (I can't find a square on my keyboard so I put an 'O'...)
>
>
> I want it to look like that:
>
> [ ? ] [ _ ] [ O ] [ X ]
Previous Topic:multiple context menu's in one editor
Next Topic:I've problems when I go import a class another project!
Goto Forum:
  


Current Time: Fri Apr 19 16:06:59 GMT 2024

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

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

Back to the top