I want to know how can i detect which key pressed (for example on Desktop or my computer ).
when detect pressed key show it with MessageBox
how can i do this?
I want to know how can i detect which key pressed (for example on Desktop or my computer ).
when detect pressed key show it with MessageBox
how can i do this?
Detecting the key presses outside of your application requires installing a Low Level Keyboard Hook. Here is a CodeProject article demonstrating the process.