PaintCustomPart(
HDC:hDC,
const CUSTOMPARTPAINTDATA*:pPaintData
)
→ bool
The PaintCustomPart function paints one of the custom Opus interface parts (such as the play, pause and stop symbols).
The CUSTOMPARTPAINTDATA structure has the following fields:
| CUSTOMPART_FDB_CLOSE | |
| CUSTOMPART_PLAY | |
| CUSTOMPART_PAUSE | |
| CUSTOMPART_STOP | |
| CUSTOMPART_SPEAKER | param is the volume %, determines how many waves are drawn faded vs full. |
| CUSTOMPART_SPEAKERMUTED | col is the color of the speaker itself; col2 is the color of the 'x'. |
| CUSTOMPART_VOLUMESLIDER | param is the volume %, determines how much of the slider is filled. col = background, col1 = frame, col2 = fill. |
| CUSTOMPART_FULLSCREEN | |
| CUSTOMPART_FULLSCREENRESTORE | |
| CUSTOMPART_CHECK | |
| CUSTOMPART_CROSS | |
| CUSTOMPART_WINDOWLINK | |
| CUSTOMPART_LOOP_ON | |
| CUSTOMPART_LOOP_OFF |
This function was added in Directory Opus 13.