70 GetModule() ? GetModule()->GetHandle() :
103 return Play(frame, frame, 0);
Definition of class TAnimateCtrl.
#define DIAG_DECLARE_GROUP(group)
#define TRACEX(group, level, message)
bool Seek(uint16 frame)
Seek to frame index 'frame'.
virtual auto GetWindowClassName() -> TWindowClassName
Returns the predefined class registered by the Common Control library for the Animation control.
bool Play(uint16 start=0, uint16 end=-1, uint repeat=1)
Plays the .AVI file from frame index 'start' to frame index 'end'.
bool Open(LPCTSTR fileOrRes, TModule *module=nullptr)
Opens an .AVI file and displays the first frame.
void Stop()
Stops playing the current AVI file.
~TAnimateCtrl()
Destructor.
TAnimateCtrl(TWindow *parent, int id, int x, int y, int w, int h, TModule *module=nullptr)
Constructor for a TAnimateCtrl to be associated with a new underlying control.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
Object Windows Library (OWLNext Core)
void InitializeCommonControls(uint controlFlags)
Wrapper for the Windows API function InitCommmonControlsEx.
uint32 MkUint32(uint16 lo, uint16 hi)
LPARAM TParam2
Second parameter type.