InsertTab()
InsertShiftTab()
InsertBackSpace()
InsertPoint() // for decimal
ExitGridCell() => F2 key
InsertEsc()
Its names speaks for itself
Recently I have included in my this example as UDF, a new function to reproduce the Ctrl-Z, very useful to UNDO in TEXT/EDIT fields. Hereunder the code:
Code: Select all
#pragma BEGINDUMP
#include <windows.h>
#define VK_Z 90
HB_FUNC( INSERTCONTROLZ )
{
keybd_event(
VK_CONTROL, // virtual-key code
0, // hardware scan code
0, // flags specifying various function options
0 // additional data associated with keystroke
);
keybd_event(
VK_Z, // virtual-key code
0, // hardware scan code
0, // flags specifying various function options
0 // additional data associated with keystroke
);
keybd_event(
VK_CONTROL, // virtual-key code
0, // hardware scan code
KEYEVENTF_KEYUP, // flags specifying various function options
0 // additional data associated with keystroke
);
}
#pragma ENDDUMP
I hope I was informative and helpful.