Hey all,
i was working on creating profiles for the pocket pc and i wanted to add a
button to allow the user play the ring tone before setting it...
let me put it in other words:
in my application the user can choose the ringtone to set it to a specific
profile. now what i was trying to do is to allow the user to hear the ring
tone before setting it by adding a play button. in my code i get the ring
tones from the pocket pc ringtone folder and display it in the combo box...
how can i play that sound?
any ideas?
--
L.L

Re: playing windows sound by Stuart

Stuart
Thu Nov 11 03:00:14 CST 2004

PlaySound(filename,0,SND_FILENAME);



L.L wrote:
> Hey all,
> i was working on creating profiles for the pocket pc and i wanted to add a
> button to allow the user play the ring tone before setting it...
> let me put it in other words:
> in my application the user can choose the ringtone to set it to a specific
> profile. now what i was trying to do is to allow the user to hear the ring
> tone before setting it by adding a play button. in my code i get the ring
> tones from the pocket pc ringtone folder and display it in the combo box...
> how can i play that sound?
> any ideas?