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: 2010/12/21 06:27, local time: 2012/2/9 02:46,
38.107.179.234:LOG IN |
| ©2012 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://www.piclist.com/techref/language/basic/vbs.htm"> Visual Basic</A> |
| Did you find what you needed? |
|
Ubicom SX18 thru SX52, PIC 16c5X compatibile, 50 to 75 MIPS microcontrollers! |
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.