Big Brother of VBScript
see also:
Questions:
Dears,
I'm working with a VBA macro for M. FrontPage 2000, and I would know when the user switch between the open pages of the application. I've tried with the different events that VBA and the object model offers and I think there is no way to obtain this notification. So I've tried with PeekMessage and WM_SETFOCUS. I've no problems to detect keyboard or mouse events with my code, but I don't catch WM_SETFOCUS nor WM_KILLFOCUS:
PeekMessage(msgMessage, 0, WM_SETFOCUS, WM_SETFOCUS, 0)
I can see by Spy++ that there is a WM_SETFOCUS message sent to the child window that the user switch to, but it I can't intercept it through PeekMessage.Are protected these messages? It is possible to receive the notification I'm interested in?
Thanks in avanced,
------------------
F. Xavier Lloré
------------------