wxMax - Events

BlitzMax Modules Forums/Brucey's Modules/wxMax - Events

Is there anywhere a list which EVENTs are supported by wxMax?

And which controls react to which EVENTs. Or is someone able to point to the source files where this information could be extracted from.

Peter

I always just dig through brucey's source to find the events. :)

I did now some testing with a wxDialog and the wxEVT_ENTER_WINDOW and managed to capture this event.

What I like to do is do capture a mouse event (mouse click like on a button) on a wxStaticBitmap but there seems no mechanism build into wxMax that emmit events an sxStaticBitmap.

-- Peter

Each Type in the hierarchy can capture certain events. Some are specific to a particular control, and others are more generic.

wxMouseEvents should be available to most wxWindow subclasses.
I checked the wxStaticBitmap source, and it looks like I've implemented event handling, so it should work (for all events available to it's parent types - like wxControl and wxWindow - as well as the mouse events).

Or you could use a wxBitmapButton?