Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

How to dsiplay next image on dialog by using Direct Draw

Hi,

I am displaying BMP on dialog window  by using DirectDraw. I am trying to show next image after i click the mouse. After i click the mouse next image is displaying, but it is on first image.  How can i remove the first image after the next image loads. First image i am calling in OnInitDialog() function. And the next images are calling in Mouse event finction.

Thanking you.

Vihar123
0
vihar123
Asked:
vihar123
1 Solution
 
Amritpal SinghCommented:
try calling Invalidate() before drawing new image in Moue click (which is ,may be OnLButtonDown)
0
 
vihar123Author Commented:
Thank you for your reply. I tried with Invalidate() function, but there is no change. Please give me any other answer.

regards
vihar123
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now