find tool

lacja
09-14-2006, 04:34 PM
I've build a vb6 app and I what to know if it's possible to detect that the user has opened the find form.

When the find form is opened and my app tries to interact with the map, the find form starts blinking fastly and if I click somewhere else, I get a messagebox telling me that the system is busy

Wilfried
09-15-2006, 04:57 AM
Hi,

There is a windows API function FindWindow(), with arguments the Caption of the window and the class name. 1 of them may be null.

The busy report is because the user has opened a modal form (the find window). Maybe it is better that a user dont interact with the same map where your application is interacting with (if that is possible of course). Another approach could be to use the ActiveX control and let the user permit only what your program permit.

 
Web mp2kmag.com
mapforums.com