Clear 2ddrawing

Just starting out? Need help? Post your questions and find answers here.
michaeled314
Enthusiast
Enthusiast
Posts: 340
Joined: Tue Apr 24, 2007 11:14 pm

Clear 2ddrawing

Post by michaeled314 »

How would you clear the 2d drawing output
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Box(0,0,width,height,color)
BERESHEIT
wh1sp3r
User
User
Posts: 11
Joined: Mon Apr 17, 2006 9:08 pm

Post by wh1sp3r »

This isnt so good, when I am using gadget in my window too.

How can I clear drawing, or how can I refresh gadgets ? thank you
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

o_O"?

a Box is the only way to "clear" a 2D Output.

what are you doing that there is a conflict with gadgets?

there seems to be a wrong approach, since a correct solution will not produce a conflict with other gadgets.
oh... and have a nice day.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

On Windows you can also get rid of drawing by InvalidateRect_(WindowID(#window),0,1) however if you want any serious help you'll need to post some code.
BERESHEIT
Post Reply