Skip to main content



      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 07:17 Go to next message
Eclipse UserFriend
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 10:27 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 03:30:11 EDT 2025

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

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

Back to the top