Click here to Skip to main content
15,905,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Polar Plots (repost) Pin
IGeorgeI31-Oct-03 9:01
IGeorgeI31-Oct-03 9:01 
GeneralRe: Polar Plots (repost) Pin
jhorstkamp31-Oct-03 10:00
jhorstkamp31-Oct-03 10:00 
GeneralRe: Polar Plots (repost) Pin
Gary R. Wheeler31-Oct-03 13:22
Gary R. Wheeler31-Oct-03 13:22 
GeneralPolar Plots Pin
Anonymous31-Oct-03 3:49
Anonymous31-Oct-03 3:49 
GeneralI wanna know how to detect file and folder deletion Pin
User 21559731-Oct-03 2:55
User 21559731-Oct-03 2:55 
GeneralRe: I wanna know how to detect file and folder deletion Pin
vcplusplus31-Oct-03 5:20
vcplusplus31-Oct-03 5:20 
Generalabout playing .wav file Pin
yingkou31-Oct-03 2:07
yingkou31-Oct-03 2:07 
GeneralRe: about playing .wav file Pin
Graham Bradshaw31-Oct-03 2:30
Graham Bradshaw31-Oct-03 2:30 
You might be making this harder than it needs to be. Assuming you have the path to a wav file in variable, say szSoundFile

::PlaySound(szSoundFile, NULL, SND_FILENAME | SND_ASYNC | SND_NODEFAULT);

will play the sound for you. There's a whole bunch of options controlling how PlaySound works, relating to how currently playing sounds are handled and so on, but all the flags are documented in the platform SDK.

You'll need to #include "mmsystem.h", and link to winmm.lib, but that should do it for you.

Generala very basic quest! Pin
31-Oct-03 1:42
suss31-Oct-03 1:42 
GeneralRe: a very basic quest! Pin
Michael P Butler31-Oct-03 2:11
Michael P Butler31-Oct-03 2:11 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:27
ranjjj31-Oct-03 2:27 
GeneralRe: a very basic quest! Pin
Michael P Butler31-Oct-03 2:34
Michael P Butler31-Oct-03 2:34 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:39
ranjjj31-Oct-03 2:39 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:58
ranjjj31-Oct-03 2:58 
GeneralClick on balloon tooltip handling Pin
kotbegemot31-Oct-03 1:21
kotbegemot31-Oct-03 1:21 
GeneralSome questions Pin
DaFrawg31-Oct-03 1:08
DaFrawg31-Oct-03 1:08 
GeneralRe: Some questions Pin
Michael P Butler31-Oct-03 1:22
Michael P Butler31-Oct-03 1:22 
GeneralRe: Some questions Pin
DaFrawg4-Nov-03 21:07
DaFrawg4-Nov-03 21:07 
GeneralRe: Some questions Pin
melwyn31-Oct-03 2:30
melwyn31-Oct-03 2:30 
GeneralRe: Some questions Pin
DaFrawg4-Nov-03 21:28
DaFrawg4-Nov-03 21:28 
Question<fstream.h> in .NET?? Pin
d00_ape31-Oct-03 0:58
sussd00_ape31-Oct-03 0:58 
AnswerRe: <fstream.h> in .NET?? Pin
Joaquín M López Muñoz31-Oct-03 2:42
Joaquín M López Muñoz31-Oct-03 2:42 
GeneralRe: <fstream.h> in .NET?? Pin
d00_ape12-Nov-03 1:21
sussd00_ape12-Nov-03 1:21 
QuestionWhat do you guys use to parse XML? Pin
BadJerry31-Oct-03 0:10
BadJerry31-Oct-03 0:10 
AnswerRe: What do you guys use to parse XML? Pin
Michael P Butler31-Oct-03 0:59
Michael P Butler31-Oct-03 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.