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

  1. Newsgroups: comp.os.ms-windows.misc
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!newsserver.pixel.kodak.com!ekcolor!dj
  3. From: dj@ekcolor.ssd.kodak.com (Dave Jones)
  4. Subject: Re: Weird problem with PC-SPEAKER...
  5. Message-ID: <1992Sep15.155917.10706@pixel.kodak.com>
  6. Sender: news@pixel.kodak.com
  7. Organization: :noitazinagrO
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. References: <1992Sep14.104834.922@odin.diku.dk>
  10. Date: Tue, 15 Sep 92 15:59:17 GMT
  11. Lines: 31
  12.  
  13. Per Goetterup (ballerup@diku.dk) wrote:
  14. : dj@ssd.kodak.com (Dave Jones) writes:
  15. : =>Pretty straightforward: if an application invokes the function
  16. : =>MessageBeep with the parameter corresponding to the MessageBox icon,
  17. : =>then you get the sound.  If it doesn't, and most don't, then no sound.
  18. : That's how I understood it as well - If the asterisk-, information-
  19. : (etc.) or question mark icon is included in a dialog box, then I
  20. : should get the sound. Only I didn't - and still doesn't, apart from
  21. : occational 'happenings'.
  22.  
  23. No, sorry, you misunderstand.  The sound is a separate call from the 
  24. message box.
  25.  
  26. : =>The icon parameters are: MB_ICONASTERISK (same as MB_ICONINFORMATION),
  27. : =>and MB_ICONEXCLAMATION.
  28. : I know. I wrote a small, simple test program (using TPW 1.0) which
  29. : pops up a dialog box with several of the icons included (one at a
  30. : time!), with the word 'test' and only an 'OK' button.
  31. Did you call MessageBeep with the icon parameter first? That's the way
  32. to do it.
  33.  
  34. --
  35. ||)) Those who wallow in ignorance      ))) Policemen are numbered in case))|
  36. ||)) must dwell in Limbaugh for a time  ))) they get lost - S. Milligan   ))|
  37. ||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
  38. ||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
  39.