Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Help With a Piece of Code

Author
Message
Post Mortem Productions
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: - Please Select -
Posted: 12th Jul 2003 03:16
How can I freeze the keyboard and mouse, like when I want a video clip to play, without being cut-out, so that the keyboard doesn't work until after the video clip.
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 12th Jul 2003 03:42
If you dont scan for keystrokes, nothing will be done with them, but I suppose you dont want the alt-tab etc. combinations to work. To do this, use the disable systemkeys command.

Whatever I did I didn't do it!
Kanzure
22
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 12th Jul 2003 03:42
Why would it matter? The keyboard just sends data, so you don't have to read it...

Although for the mouse, just disable it!

~Morph/Kanzure
Post Mortem Productions
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: - Please Select -
Posted: 12th Jul 2003 05:15
How do I disable the mouse and keyboard, as in commands?
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 12th Jul 2003 10:54
check the source box below, just put that before the video clip you want to show.

***Ordered Dbpro today(friday)****
Lets see how quick amazon really are!!!
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 12th Jul 2003 10:59
Ok,heres the real answer, now most of the keys on a keyboard(all the letters, space, enter, control, numbers) won't do anything in your program unless you program them to do so. There are however certain combinations of keys that will exit you program such as alt-tab these are called system keys and can be disabled by using the command
disable system keys
and enabled by
enable system keys
so basically unless you program a key to skip your video clip the player/user won't be able to do so, but bare in mind most people won't want to see a video clip before they play, especially if they've seen it before!!!

***Ordered Dbpro today(friday)****
Lets see how quick amazon really are!!!

Login to post a reply

Server time is: 2025-05-19 11:02:57
Your offset time is: 2025-05-19 11:02:57