Re: howto avoid cdc drawing done not in onPaint to be erased?
- From: Equilibrium <ryariv@xxxxxxxxx>
- Date: Wed, 11 Jul 2007 03:35:13 -0700
Dave
--
David Webber
Author of 'Mozart the Music Processor'http://www.mozart.co.uk
For discussion/support seehttp://www.mozart.co.uk/mzusers/mailinglist.htm
Thanks Dave ,
I'll try to explain.
The reason i need all of this to perform outside the WM_PAINT message
is because the control is updated each 20ms with new object to
draw. the static control main goal is to display a tracking data , so
i recive x.y coordinates each 20ms , and on those coordinates
i need to draw something.
Storing those x,y in a string or an array and then caling WM_PAINT
(via invalidate) , and there to draw them, seems to me quite
expensive / wasteful , especially that the data can flow to the system
for along time.
In othere word what you are saying is, that if we are using the mouse
to free draw on a control ' we need to save each and every point the
mouse x,y position was.
What i need , basically is a way , when the disaplay need to be
"refresh\repaing" , to save the DC , and then restore it on WM_PAINT.
Thank you/
.
- Follow-Ups:
- Re: howto avoid cdc drawing done not in onPaint to be erased?
- From: Joseph M . Newcomer
- Re: howto avoid cdc drawing done not in onPaint to be erased?
- From: David Ching
- Re: howto avoid cdc drawing done not in onPaint to be erased?
- From: David Webber
- Re: howto avoid cdc drawing done not in onPaint to be erased?
- References:
- howto avoid cdc drawing done not in onPaint to be erased?
- From: Equilibrium
- Re: howto avoid cdc drawing done not in onPaint to be erased?
- From: David Webber
- howto avoid cdc drawing done not in onPaint to be erased?
- Prev by Date: About Window Minimize of MID Project
- Next by Date: How to make an application for uploading a folder
- Previous by thread: Re: howto avoid cdc drawing done not in onPaint to be erased?
- Next by thread: Re: howto avoid cdc drawing done not in onPaint to be erased?
- Index(es):
Relevant Pages
|
Loading