Hi group
how can i activate key Ins in runtime ?
Best Regards
Marino
Key ins
Moderator: Rathinagiri
Re: Key ins
Hi Marino,Marino wrote:Hi group
how can i activate key Ins in runtime ?
It is possible with the following C-function:
Code: Select all
HB_FUNC( KEYTOGGLENT )
{
BYTE wKey = ( BYTE ) hb_parni( 1 );
keybd_event( wKey, 0x45, KEYEVENTF_EXTENDEDKEY | 0, 0 );
keybd_event( wKey, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0 );
}
Code: Select all
KeyToggleNT ( VK_INSERT )
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein