|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Keydown on loadHi all,
Has anyone got any idea on how to detect if the user is holding down a key when a program starts? I have tried dealing with the forms keypress event but to now avail... i have tried all key events. All i want is for when the application starts, if the user is holding down a key, it loads up the program with different values set... Any ideas? Dave "Dave" <davesa***@gmail.com> schrieb If Alt, Ctrl, Shift is sufficient, you can use the shared property> Hi all, > > Has anyone got any idea on how to detect if the user is holding down > a key when a program starts? I have tried dealing with the forms > keypress event but to now avail... i have tried all key events. > > All i want is for when the application starts, if the user is > holding down a key, it loads up the program with different values > set... > > Any ideas? Control.ModifierKeys. Otherwise use the GetKeyState or GetAsyncKeyState API function. Armin
DataGridView: Preventing deselection of a selected checkbox
Form Focus Issue Syntax not accepted on my version of VS why ?. Best way to do a connection-oriented Send/Receive. Datareader binding to datagrid not working Using a delegate need ideas - caching strategy RS 2005: Use a Custom Class as DataSource? what is the MyApplication.vshost.exe? Launch a program and a function by File Type |
|||||||||||||||||||||||