Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages
Started by David Andrus
Mon, 21 Jun 2004 07:17
F10 not working with Playsound
Author: David Andrus
Date: Mon, 21 Jun 2004 07:17
Date: Mon, 21 Jun 2004 07:17
11 lines
1403 bytes
1403 bytes
I've written a program that allows different sounds to be mapped to various keys on the keyboard so that when you press a key the sound plays using PlaySound(). My problem is this: I'm using OnKeyDown to handle the user pressing the 'F' keys. All of the keys work fine except for F10. When you press F10 the program halts until you press the 'z' key which has all of PlaySound's options set to NULL. This occurs even when there is no sound mapped to F10. I have tried copying code that I know to be working from the other F keys and F10 just doesn't want to work right. Does anybody know what might be going on here?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads