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

[REBOL] Re: System Beep

From: coussement:c:itc:mil:be at: 20-Feb-2001 8:52

> 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
[ Thanks Michal, I was looking that way, but you spare me a lot of thinking work ! I just tried it and it works OK. ]
> 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,
[ Thanks again, Take care. chr== ]