As to catch return of oActiveX:Do
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio,
On these specific events the following text only exists:
The support technician of them returned me the following one:
I tested this event in Visual Basic and it seems to work properly. However, VB shows only one parameter, which is nKey.
On these specific events the following text only exists:
Code: Select all
Standard events:
The control supports these standard events: Click, Double click, Got Focus, and Lost Focus, KeyDown, KeyPress, KeyUp. The KeyDown, KeyPress and KeyUp event take one integer parameter which passes the value of the key code.
Code: Select all
KeyPress event is not an internal TE message (it is only an ActiveX message), it would not be routed to the callback message. The KeyPress event takes only one parameter which is the keyvalue for the keystroke. So nKey1 should be the numeric key values.
I tested this event in Visual Basic and it seems to work properly. However, VB shows only one parameter, which is nKey.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio,
I asked to the support of them - Exists some another way to implement what necessary?
The support technician of them returned me the following one:
Aid?
I asked to the support of them - Exists some another way to implement what necessary?
The support technician of them returned me the following one:
Code: Select all
If your application lets you define callback function, then you can use the TerRegisterMsgCallback function to register your callback function. TE would then route the internal TE messages to the callback function. The callback function should have the following prototypes:
LRESULT WINAPI _export TerCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
Also, since KeyPress event is not an internal TE message (it is only an ActiveX message), it would not be routed to the callback message. You can instead use the PreProcess event for this purpose.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: