-
disabling key combos
Code:
keybd_event(VK_MENU,0x38,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
This would cause your console program to go full screen without the use of .inf files. It does this by "pressing alt+enter". Would there be a way to disable alt+space? Would there be a way to do it the entire time your program was running? If the user were to press alt+space, nothing would happen. How is that done?
-
probably the use of a different function... that ishow it usually goes
like this
Code:
func_key(char key)
func_keys_accepted(int args, char key1, char key2... char keyn)
usually how it works... I'll look into it for ya, tell you if I see anything.
Finding and learning of all the functions can be a difficult task
in my quote below, there is a C_Refrence_card... really usefull
too bad no one uses it or reads the FAQ :o
-
Oh I read your reference card....and printed it off for a hard copy. I frequently go back to the FAQ on this site if not for anything less than a learning expierence.
I was searching google for quite some time and I eventually ended up into the keybd_event stuff and tinkering with things in windows.h. I found some information on MSDN with a function called BlockInput....which is what I might need, but I couldn't make sense of it. I gave up and took a break after some time. :D
-
I award shadow the most brilliant user out there.
Although I am sure other people use the same things but not enough.
Thanks shadow.
-
You see to have PM's disabled Lynux, if you are a real resource buff - during my mass search for my problem (that is pretty much haulting continuation of my program) I found a site. You should check out this link: http://www.infotechuniv.com/index1.htm
I haven't made much sense of it yet. It looks to be loaded with info.
-
oooooooooooh
SQL for C...
thanks!
:D
-Luke