~~Title: PaintCustomPart~~ PaintCustomPart && bool && && hDC && HDC && [in] && pPaintData && const CUSTOMPARTPAINTDATA* && [in] Pointer to a **CUSTOMPARTPAINTDATA** structure. 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: * **int cbSize** \\ Set this to the size of the structure. * **int iPartId** \\ The part to paint. Defined parts are: |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| * **COLORREF crCol** * **COLORREF crCol2** * **COLORREF crCol3** * **BYTE bAlpha** * **RECT rc** * **DWORD_PTR param** * **int iRotate** This function was added in Directory Opus 13.