Saturday, August 24, 2013

How to move objects with Window's C++ Graphics (GDI+) library?

How to move objects with Window's C++ Graphics (GDI+) library?

So far, I've only copy/pasted the example that Microsoft has here (but I
removed #include ).
I'm trying to figure out how OnPaint is continually called (as to have
moving objects), but it doesn't seem to be called more than once.
How do I use the standard Windows C++ graphics library (i.e. GDI+, or
another standard Windows API) to create a moving object? Must I call
OnPaint myself? Or is there an easy fix to make it continually be called?
Or is it just not possible?

No comments:

Post a Comment