PaintCustomPart(
     HDC:hDC,
     const CUSTOMPARTPAINTDATA*:pPaintData
)
→ bool

Arguments

hDC

[in]

pPaintData

[in] Pointer to a CUSTOMPARTPAINTDATA structure.

Description

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_SPEAKERparam is the volume %, determines how many waves are drawn faded vs full.
CUSTOMPART_SPEAKERMUTEDcol is the color of the speaker itself; col2 is the color of the 'x'.
CUSTOMPART_VOLUMESLIDERparam 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.