Vcl.MPlayer.TMediaPlayer.Paint
Delphi
procedure Paint; override;
C++
virtual void __fastcall Paint();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.MPlayer.pas Vcl.MPlayer.hpp |
Vcl.MPlayer | TMediaPlayer |
Description
Renders the image of the media player.
When the media player component receives a WM_PAINT message, like other custom controls, it responds by initializing the control's canvas and calling Paint. Paint draws the frame and all visible buttons.
When creating a descendant media player class, Paint can be overridden to draw the image of the corresponding media player object.