For example ENTER, ESC 1,2,3,4,5 etc.
Thank you very much

Miguel
please tell us how you want to use it ?MIGUELON wrote:Hi all, anyone know how I can simulate a keystroke.
For example ENTER, ESC 1,2,3,4,5 etc.
SetAppWindow() return "active" Window while SetAppFocus() allways return "active" XbPart.MIGUELON wrote:... the problem is that there are many objects window and also a dcbrowse and do not know which is the object that has the current focus to use:
did you realy need to "send" a Event or do you want to "react" on it ?MIGUELON wrote:PostAppEvent (xbeP_Keyboard, xbe_K_ENTER,, Object)