# cdCanvasActivate

Definition: | include pGUI.e cdCanvasActivate(cdCanvas canvas)
Description: | Activates a canvas for drawing. This is used only for a few drivers. Native Window and IUP drivers will update the canvas size if the window size has changed. Double Buffer driver will recreate the image buffer if the window canvas size has changed. In these cases the function MUST be called, for other drivers is useless. The function cdActiveCanvas() ceased to be available in version 3.25
pwa/p2js: | Supported. Implemented as a dummy function that does nothing.