Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: System Beep

From: kracik:mbox:dkm:cz at: 19-Feb-2001 18:01

OK, since I wrongly advised you about renaming files on network drives, here's how to make standard Windows beeps in Command: MB_OK: 0 MB_ICONHAND: 16 MB_ICONQUESTION: 32 MB_ICONEXCLAMATION: 48 MB_ICONASTERISK: 64 user32lib: load/library %user32.dll MessageBeep: make routine! [ utype [ int ] return: [ int ] ] user32lib "MessageBeep" MessageBeep MB_ICONHAND free user32lib Note that sounds for different types of message boxes can be configured in Windows Control Panel, they are quite annoying so some people turn them off entirely. Regards, -- Michal Kracik CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN wrote:
> It should be a good solution, but I'm working with Command, which does not > support 'browse... > I should have mention it in my mail: sorry for that ;-\ > > Thanks anyway ! > > chr> > > -----Original Message----- > > From: Michal Kracik [SMTP:[kracik--mbox--dkm--cz]] > > Sent: maandag 19 februari 2001 16:47 > > To: [rebol-list--rebol--com] > > Subject: [REBOL] Re: System Beep > > > > Hi, > > > > from REBOL/View you can do: > > browse "c:/winnt/media/notify.wav" and if a dialog box appears, say > > that you don't want to be asked every time you open a file with .wav > > suffix. > > > > HTH, > > > > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- S pozdravem Michal Kracik