[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] set/get the icon in MessageBox?
|
In the future, please ask questions like this in the SWT newsgroup. This
mailing list is for the development of SWT.
news://news.eclipse.org/eclipse.platform.swt
The icon in the message box is determined by the style bits used to create
the MessageBox:
SWT.ICON_ERROR
SWT.ICON_INFORMATION
SWT.ICON_QUESTION
SWT.ICON_WARNING
SWT.ICON_WORKING
Also, you can get this icon using
Image image = display.getSystemImage(SWT.ICON_ERROR);
Like display.getSystemColor, it is not necessary to dispose the image
returned by display.getSystemImage because you did not create the image.
<Yu.You@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
12/07/2004 05:58 AM
Please respond to
platform-swt-dev
To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] set/get the icon in MessageBox?
Hi,
Is there an API around to get or set the icon in MessageBox? I read a plan
before from SWT development page but cannot find it any more.
Thanks.
Regards,
Yu
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev