Nood EVENT_GADGETPAINT

BlitzMax Forums/BlitzMax Beginners Area/Nood EVENT_GADGETPAINT

Is an EVENT_GADGETPAINT emited on canvas creation, or do I impicitly have to post a redrawgadget?

(Cos if not it should be drawGadget)

If you are creating a canvas, I guess it depends what you use the canvas for. If you use it with CanvasGraphics() then the first time you do a Flip() will be the first time something is drawn. I don't know if the canvas itself would have a color before that.

I ask, because from obsevation, it seems to be called automaticaly on the Front buffer. (As apposed to the backbuffer were it usually is called to draw on)