“Most of the UI I work with is written as dialog box applications – for various reasons, many of the audio UI elements are actually dialog boxes[1]. As such, the system controls the actual drawing of the UI elements, especially if you specify the WS_CLIPCHILDREN window style.”
source...