key don't test, example ,Printscreen key, notebook Fn, etc.
I hear that each key has the keycode , can I read it ?
Do you help me to solve the question?
Tks and best regards!
Bright
Thanks for you information. but it don't read some function key, eg: Printscreen key etc,
Windows does not send any kind of key down message to the window when print screen is pressed. So maybe searching for some lower level Windows APIs will be a possible way.
Thanks, I hear that applying windows dll and hook can solve the question, but I don't know how to use hook.
I want to get key state and get function key state but don't action. eg, press Win flag key , start menu will to pop-up , I want to read the key state,but
start menu will not to pop-up.
@brightxie1 wrote:
I want to get key state and get function key state but don't action. eg, press Win flag key , start menu will to pop-up , I want to read the key state, but start menu will not to pop-up.
You need hook.
Or you can close the pop-up window yourself.