Hi all,
I've been working on developing a Mozilla control for the wxWindows
programming library. I have the control functioning on MSW and GTK, but
on OS X (using MachO/Carbon) it's not catching any mouse events. I've
been trying to model my code after the PowerPlant example, and have
been able to successfully create and dispatch EventRecords to Mozilla
for update and activate events, but I can't get the same results for
mouse events. I'm using a recent CVS tree, between 1-2 weeks old at
this point.
Since I'm working with wxWindows events, I do not have direct access to
the original EventRecord, so I have to create one as I have
successfully done with the update and activate events. (These also are
based on the PowerPlant example.) I've created mouseDown events and
passed into the where parameter a Point containing the x and y values
given by wxWindows (and also given by Carbon's GetMouse function), but
in all cases the event is not handled by Mozilla. Am I missing any
important values, or is there something special needed to be done to
turn mouse event handling on? I was unable to find anything in the
PowerPlant example. The mouse events in the PowerPlant example seem to
simply forward the EventRecord into Mozilla and let it handle it.
Thanks in advance for any help/suggestions!
Kevin
- Re: Mac OS X: Handling mouse events Kevin Ollivier
- Re: Mac OS X: Handling mouse events Christian Biesinger
