home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3442 < prev    next >
Encoding:
Text File  |  1992-11-15  |  797 b   |  29 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!think.com!sdd.hp.com!news.cs.indiana.edu!noose.ecn.purdue.edu!mentor.cc.purdue.edu!nuspljj
  3. From: nuspljj@mentor.cc.purdue.edu (Joseph J. Nuspl Jr.)
  4. Subject: Is there a flag for Sounds Enabled?
  5. Message-ID: <BxrzrG.Lwq@mentor.cc.purdue.edu>
  6. Organization: Purdue University
  7. Date: Sun, 15 Nov 1992 21:01:46 GMT
  8. Lines: 19
  9.  
  10. I am writing a program in Borland C++ and I would like to be able to
  11. test to see if sounds are enabled.
  12.  
  13.     if( _sound_enabled )
  14.         make_noise();
  15.     else
  16.         flash_screen();
  17.  
  18. Can this be done?
  19.  
  20.  
  21. Thanks.
  22.  
  23.  
  24.  
  25. ------------------------------------------------------------------------
  26. Joseph J. Nuspl Jr.                     306 Shreve Hall
  27. nuspljj@mentor.cc.purdue.edu            West Lafayette, IN 47906
  28. "I'm a space cowboy!"                     (317) 495 - 5308
  29.