Key ins
Posted: Tue Feb 16, 2016 12:46 pm
Hi group
how can i activate key Ins in runtime ?
Best Regards
Marino
how can i activate key Ins in runtime ?
Best Regards
Marino
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://hmgforum.com/
Hi Marino,Marino wrote:Hi group
how can i activate key Ins in runtime ?
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 )