One more quick question 
Author Message
 One more quick question

Out of curiosity as much as need, I would like to know whether there is
an easy way for a form to intercept and destroy a click which would cause
the form to lose focus.  I haven't used subclassing, but would that work?

In general, is there anything with clicks analogous to intercepting a key
and setting its code to zero? -- WITHOUT doing subclassing?

I know these must sound like horrible newbie questions.



Mon, 21 Dec 1998 03:00:00 GMT  
 One more quick question


Quote:
>Out of curiosity as much as need, I would like to know whether there is
>an easy way for a form to intercept and destroy a click which would cause
>the form to lose focus.  I haven't used subclassing, but would that work?

No, but there is another way. You can prevent the mouse cursor from leaving
the form alltogether using the SetCapture API.

--
VB Info: http://www.sn.no/~balchen/vb/visual.htm
FAQ: http://www.sn.no/~balchen/vb/faq.htm
Knowledge Base: http://www.sn.no/~balchen/vb/kb.htm



Mon, 21 Dec 1998 03:00:00 GMT  
 One more quick question


Quote:
Wegman) writes:

> Out of curiosity as much as need, I would like to know whether there is
> an easy way for a form to intercept and destroy a click which would cause
> the form to lose focus.  I haven't used subclassing, but would that work?

Try the setsysmodalwindow API

 _  _____  _   _

| || (_) || `\| | http://www.sn.no/~balchen/igloo/
| ||  _  || , ` |
| || | | || |`\ | If a train station is where a train
(_)(_) (_)(_) (_) stops, what is a workstation?



Tue, 22 Dec 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. One More Quick Question...

2. ASP.NET : one quick question

3. Quick Database question - Easy one for you experienced programmers, but out my hands - Please help

4. One quick question

5. Database quick question - easy one for all you programmers - Beyond me though

6. Hello all, one quick question

7. API, WM_SETEXT, quick question, need quick answer please

8. One file question, one menu question

9. The quick question and the long question.

10. QUICK QUESTION:vb question/buying decision

11. Very quick one: Syntax for password????

12. quick one

 

 
Powered by phpBB® Forum Software