endSetPixel

Syntax

void endSetPixel(int ctl)

Arguments

ctl
The control number of the control you were drawing on using Control drawing functions.

Description

Stops drawing to an OWNERDRAW control and display it on screen.

Example

ctl(1): OWNERDRAW(drawitem), pos=(300,50), size=(100, 100)
startSetPixel(1);
setRectFill(10,20,30,40,RGB(255,0,0));
endSetPixel(1);

Also see

startSetPixel, setPixel, setRectFill

Comments

Everyone can add their comments about their experiences with this function here. Tips for using it are welcome, too.