[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: notification sound

Windows probably thinks that the silent dialogs are just normal shells, not
Question or Error dialogs.  The only way to create these specific-purpose
dialogs is with MessageDialog.  I did a quick test on win2000 and found the
Windows sounds that are played for each MessageDialog style:

SWT.ICON_WARNING: Exclamation
SWT.ICON_QUESTION: Question
SWT.ICON_INFORMATION and SWT.ICON_WARNING: Asterisk
SWT.ICON_ERROR: Critical Stop

Grant


"hilal" <hilal.arslan@xxxxxxxxxxxxxx> wrote in message
news:33ef8ea3a00ec141b523fd96ab674fc3$1@xxxxxxxxxxxxxxxxxx
> I want to put notification sound effect on popup windows-like Question or
> Error dialog boxes.
> I've set those two sound effects on Windows (Control Panel-Sound), but it
> didn't work on eclipse dialogs. Hovewer when I choose "menu command" on
> windows  and set it to some sound, I've seen that it worked in eclipse
> when I choose any menu item.
> Is there any setting for sound effects in Eclipse? Or is there an
> extention point defined for this issue?
>