LordTTSeven
asked on
Force Auto Redraw with SetPixel()
Hi,
I have the following problem:
Since the PSet Function of VB is damn slow, I use the API Function SetPixel.
The only problem with this is that it isnt redrawn with Form.AutoRedraw = True, and i also cant catch the Event(Im calling from a _Click Event) that destroys my Picture once drawn.
So I either need something that Fixes the Picture somehow so Its effected by AutoRedraw, or catch this Event...
If there is any other(speedy) way to draw my Picture, I would also accept that.
Thanks right now,
Lord.
I have the following problem:
Since the PSet Function of VB is damn slow, I use the API Function SetPixel.
The only problem with this is that it isnt redrawn with Form.AutoRedraw = True, and i also cant catch the Event(Im calling from a _Click Event) that destroys my Picture once drawn.
So I either need something that Fixes the Picture somehow so Its effected by AutoRedraw, or catch this Event...
If there is any other(speedy) way to draw my Picture, I would also accept that.
Thanks right now,
Lord.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.