I probably didn't explain it clearly.  I want to allow the system to
continue to use the Find command normally.  However, from inside my app I'd
like to use my existing event handlers (and the system's dialog) to search
only my app.

Steve

Ben Combee <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Steve Achelis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > My app currently handles the system find event sysAppLaunchCmdFind.
> >
> > The docs say, "An application can also integrate the find operation in
its
> > own user
> > interface and send the launch code to a particular application."
> >
> > Any ideas on how to do this?  I'd like to launch the system's Find
dialog,
> > get the results in the system's Find list, but only have it search my
app
> > (not all apps that are installed on the device).
>
> If I read you right, you want to override the find key in your
application,
> having it only search your app.
>
> To do this, You'd need to catch the find keystroke, vchrFind, before the
> system gets a chance to intercept it.  You can do this by checking for it
> before your event loop calls SysHandleEvent.
>
> At that point, you'd need to open your own dialog, perform your own
search,
> and return the results in your own window.  Don't go through
> sysAppLaunchCmdFind unless you also want your application to be searchable
> when other programs are running.  I don't think there is a way (other than
a
> system hack) to constain the system's find to only a single application.
>
>
>
>





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to