I'm attempting to design a window that will behave like a drop down list of
a combo - If you click outside it it fires an event which (usually) will
close or hide itself.
I've managed to fudge it by using the OnDeactivate of the form, but this
only works when clicking on another form in the application, and it effects
whatever was clicked on.
What I want is to Capture any mouse click on the screen while the form is
visible and deal with it myself, So that if joe bloggs accidentally clicks
the "Destroy my machine" button while trying to cancel out of my drop down,
the drop down closes and the Button doesn't recieve the click.

Possible?

========================================================
 Luke Pascoe                          Delphi Programmer
             enSynergy Consulting LTD

 [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
 Level 4,   10-12 Federal St,   Auckland,   New Zealand
 PO Box 32521,  Devonport,  Auckland 1330,  New Zealand

================== I.H.T.F.P. ==========================
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to