Jump to content
  • Advertisement
Sign in to follow this  
usman1266

Make a vedio from images

This topic is 3321 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have sensor its give me x y z values run time 10 values per sec , i have store a images agiants each values like "x,y,z.bmp",I will show images in picture control in VC++ mfc dialog run time acrroding to sensor values but when i see image its blink when image repaint i want smooth vedio. I want to retrival images in smooth vedio format but it look link flickering vedio when each image change,kindly help me to solve this problem

Share this post


Link to post
Share on other sites
Advertisement
I'd expect that clearing the background is causing the problem.

If I remember right in MFC you can override OnEraseBackground() to do nothing to fix that.

Share this post


Link to post
Share on other sites
i will use InvalidateRect() when add new picture in picture control and repaint on OnPaint()function,kindly tell me example code what i do?thanks

Share this post


Link to post
Share on other sites
Quote:
Original post by usman1266
i will use InvalidateRect() when add new picture in picture control and repaint on OnPaint()function,kindly tell me example code what i do?thanks
OnEraseBackground() is called before painting, to erase the background of a control. You want to override it to do nothing, so you don't clear the background.
Just override OnEraseBackground() (In exactly the same way as you've overridden OnPaint()), and do nothing in it.

Share this post


Link to post
Share on other sites
this problem is solve but when i open a dialog box in MDI window its show a previous open dialog box control and background aslo in new opend dialog

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!