Re: WM_LBUTTON ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi,
can you fill me in a little more?

> I was wondering if maybe someone would show me how to
> stop a Mouse Button click,

I'm guessing that there is a control that normally reacts to a mouse click
but you want it to ignore it this time. Is that right? Is that a scrollbar,
a pushbutton or what?

You could try to trap it using onEvent handler. Some types of controls don't
send all events to the application, so try this first but don't be too
surprised if fails.

--------------------
procedure eh(atom iMsg, atom wParam, atom lParam)
    if find(iMsg, {WM_LBUTTONDOWN, WM_LBUTTONUP}) then
        returnValue(0) -- signal we want to ignore this event.
    end if
end procedure
onEvent[myControl] = routine_id("eh")

-------------------------


cheers,
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu