用DrawCaption做同样的事情,您可以看到OnNcPaint仅在GetCaptionHeight()> 0时才调用DrawCaption。因此,请尝试覆盖GetCaptionHeight并返回0。
確定! 回上一頁