Location:
w32adll.h
Link against: N/A
MAnimFreeTimerWindowFunctions
Supported from 5.1
Free timer animation utility functions interface. The class
inherits functions from MAnimWindowFunctions
, and defines the
additional interface required for window operations which support animations
with their own timers.
You do NOT have to create an object of this type. The class is
implemented by the window server, and provides utility functions to all
CFreeTimerWindowAnim
derived classes via the
WindowFunctions()
member.
It is not intended for user derivation.
Note:
The classes’ functions are declared as pure virtual in the header file. However, as stated above, you do not need to derive from this class, so these have not been marked as pure virtual in this document.
|
Defined in MAnimFreeTimerWindowFunctions
:
DeactivateGc()
, Update()
Inherited from MAnimWindowFunctions
:
Invalidate()
,
IsHidden()
,
Parameters()
,
SetRect()
,
SetVisible()
,
VisibleRegion()
,
WindowSize()
,
void ActivateGc()
void DeactivateGc();
Deactivate the graphics context.
This function is used in the context of a
CFreeTimerWindowAnim
derived class when writing animation DLLs
with their own timer. Within the timer’s RunL()
the
ActivateGC()
function should be called prior to drawing to the
window. DeactivateGC()
should be called after drawing is
finished.
void Update();
Forces the screen to update.