A community member has associated this post with a similar question:
Win32 HDC issue
Only moderators can edit this content.
win32 drawing issue
someone
20
Reputation points
Please help me what am I doing wrong when I try to make a simple animation of a square that moves at a certain coordinate and animated using sin()
(All this in a while loop with a delay std::this_thread::sleep_for( std::chrono::milliseconds(1)))
without using wm_paint )
but at moments it disappears for a millisecond and then continues to move again, nothing breaks just this blinking ... Gives the feeling that I did something wrong :/.
{count} votes