Handlig mouse without forms

  • Thread starter Thread starter rayreeves
  • Start date Start date
R

rayreeves

I have a dialog box to gather parameters and then I get rid of that form and
run my graphics application on the same thread. How can I set up my own
delegate in the application to handle mouse events with no form?

Ray Reeves
 
rayreeves [email protected]> said:
I have a dialog box to gather parameters and then I get rid of that form
and run my graphics application on the same thread. How can I set up my
own delegate in the application to handle mouse events with no form?

If you don't have a Form, I'm afraid that you'll have to use
Application.AddMessgeFilter to hook your own routine to the Windows message
pump, and then process yourself those messages that relate to mouse events.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top