Adding new icon to Title Bar [message #544017] |
Thu, 01 July 2010 07:17  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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 ]
|
|
|
Powered by
FUDForum. Page generated in 0.03699 seconds