home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / misc / 3041 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  3.0 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!diku!ballerup
  2. From: ballerup@diku.dk (Per Goetterup)
  3. Newsgroups: comp.os.ms-windows.misc
  4. Subject: Re: Weird problem with PC-SPEAKER...
  5. Keywords: pc-speaker
  6. Message-ID: <1992Sep14.104834.922@odin.diku.dk>
  7. Date: 14 Sep 92 10:48:34 GMT
  8. References: <1992Sep10.092028.22042@odin.diku.dk> <1992Sep11.151829.4829@news.iastate.edu> <1992Sep11.185827.7348@pixel.kodak.com>
  9. Sender: ballerup@ask.diku.dk
  10. Organization: Department of Computer Science, U of Copenhagen
  11. Lines: 55
  12.  
  13. dj@ssd.kodak.com (Dave Jones) writes:
  14.  
  15. =>In article <1992Sep11.151829.4829@news.iastate.edu> rjhoffma@iastate.edu (Richard J. Hoffmann) writes:
  16. =>>In article <1992Sep10.092028.22042@odin.diku.dk> ballerup@diku.dk (Per Goetterup) writes:
  17. =>>>
  18. =>>>I get my tada sound when starting windows and my chime sound when
  19. =>>>exiting windows - otherwise nothing!. As I understand it, I should get
  20. =>>>my assigned sound (chord) when for instance a dialog box appears with
  21. =>>>an exclamation mark in it, but nothing happens. Am I misunderstanding
  22. =>>>something fundamental or what?
  23. =>>>
  24. =>>>Help please!
  25. =>>>
  26. =>>>Reply via e-mail if possible... otherwise please post.
  27. =>>
  28. =>>*****I'd appreciate a posting on this subject.********
  29.  
  30. =>Pretty straightforward: if an application invokes the function
  31. =>MessageBeep with the parameter corresponding to the MessageBox icon,
  32. =>then you get the sound.  If it doesn't, and most don't, then no sound.
  33.  
  34. That's how I understood it as well - If the asterisk-, information-
  35. (etc.) or question mark icon is included in a dialog box, then I
  36. should get the sound. Only I didn't - and still doesn't, apart from
  37. occational 'happenings'.
  38.  
  39. =>The icon parameters are: MB_ICONASTERISK (same as MB_ICONINFORMATION),
  40. =>and MB_ICONEXCLAMATION.
  41.  
  42. I know. I wrote a small, simple test program (using TPW 1.0) which
  43. pops up a dialog box with several of the icons included (one at a
  44. time!), with the word 'test' and only an 'OK' button.
  45.  
  46. But nope. Only sound in about one in ten attempts, seemingly random.
  47. But the Windows Start and Windows Exit sounds always work... Why only
  48. those?
  49.  
  50. =>You can get the Exclamation sound very easily: just do something stupid.
  51. =>No, take off the funny red plastic nose: I meant do something in an
  52. =>application that is stupid.  Try pressing Page Up when you're at the 
  53. =>beginning of a file.  That sort of thing.
  54.  
  55. I've tried that also, and it seems to work every time. I think the red
  56. nose did it... ;-)  ..... 
  57.  
  58. =>-- 
  59. =>||)) Those who wallow in ignorance      ))) Policemen are numbered in case))|
  60. =>||)) must dwell in Limbaugh for a time  ))) they get lost - S. Milligan   ))|
  61. =>||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
  62. =>||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
  63. -- 
  64. | Per Gotterup                        | "The most merciful thing in the    |
  65. | Student, DIKU (Dept. of Comp. Sci.) | world, I think, is the inability   |
  66. | University of Copenhagen, Denmark   | of the human mind to correlate all |
  67. | Internet: ballerup@ask.diku.dk      | its contents."  - H.P. Lovecraft - |
  68.