Binding to Windows Events for Fox windows
In a prior blog I described a demo I gave at Las Vegas Devcon that showed how to bind to Windows Events to respond to Windows Shell notifications.
Another demo I gave at Devcon was a simple program that bound to Windows Events to trap for window activation, deactivation, creation, etc. It showed a treeview listing all the currently active windows.
As the user opens, closes, or activates various windows, the treeview is automatically updated by responding to these events.
These demos require a new feature for BINDEVENTS() in VFP9 that allows you to run user code in response to Windows Events.
A customer asked for the source code for that demo: it’s shipped as a solution sample.
Start VFP9, Tools->Task Pane. Choose Solution Samples, New in VFP9, “Binding to windows Message Events”, “Fox Windows”
47234
Comments
- Anonymous
January 04, 2005
Calvin,
The File/Folder Shell Events is returning an error message "Cannot find entry point SHILCreateFromPath in the dll" when you enable the event - Anonymous
January 04, 2005
I'm not getting that error when I run it on mine.
Maybe it's a version that you are running. - Anonymous
January 05, 2005
The comment has been removed