home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / misc / 2947 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.os.ms-windows.misc
  2. Path: sparky!uunet!usc!rpi!newsserver.pixel.kodak.com!dj
  3. From: dj@ssd.kodak.com (Dave Jones)
  4. Subject: Re: Weird problem with PC-SPEAKER...
  5. Message-ID: <1992Sep11.185827.7348@pixel.kodak.com>
  6. Keywords: pc-speaker
  7. Sender: news@pixel.kodak.com
  8. Organization: :noitazinagrO
  9. References: <1992Sep10.092028.22042@odin.diku.dk> <1992Sep11.151829.4829@news.iastate.edu>
  10. Date: Fri, 11 Sep 92 18:58:27 GMT
  11. Lines: 33
  12.  
  13. In article <1992Sep11.151829.4829@news.iastate.edu> rjhoffma@iastate.edu (Richard J. Hoffmann) writes:
  14. >In article <1992Sep10.092028.22042@odin.diku.dk> ballerup@diku.dk (Per Goetterup) writes:
  15. >>
  16. >>I get my tada sound when starting windows and my chime sound when
  17. >>exiting windows - otherwise nothing!. As I understand it, I should get
  18. >>my assigned sound (chord) when for instance a dialog box appears with
  19. >>an exclamation mark in it, but nothing happens. Am I misunderstanding
  20. >>something fundamental or what?
  21. >>
  22. >>Help please!
  23. >>
  24. >>Reply via e-mail if possible... otherwise please post.
  25. >
  26. >*****I'd appreciate a posting on this subject.********
  27.  
  28. Pretty straightforward: if an application invokes the function
  29. MessageBeep with the parameter corresponding to the MessageBox icon,
  30. then you get the sound.  If it doesn't, and most don't, then no sound.
  31.  
  32. The icon parameters are: MB_ICONASTERISK (same as MB_ICONINFORMATION),
  33. and MB_ICONEXCLAMATION.
  34.  
  35. You can get the Exclamation sound very easily: just do something stupid.
  36. No, take off the funny red plastic nose: I meant do something in an
  37. application that is stupid.  Try pressing Page Up when you're at the 
  38. beginning of a file.  That sort of thing.
  39.  
  40.  
  41. -- 
  42. ||)) Those who wallow in ignorance      ))) Policemen are numbered in case))|
  43. ||)) must dwell in Limbaugh for a time  ))) they get lost - S. Milligan   ))|
  44. ||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
  45. ||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
  46.