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é
------------------
file: /Techref/language/basic/vbs.htm, 1KB, , updated: 2013/7/23 09:34, local time: 2024/12/18 17:53,
18.217.131.170:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/basic/vbs.htm"> Visual Basic</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.