Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让父控件在子控件无效时绘制在子控件上?
我知道影响这一点的唯一方法是确保WS_CLIPCHILDREN关闭窗口样式。不过这个我用的不多。
WS_CLIPCHILDREN
如果您希望完全覆盖子控件,则隐藏子控件可能更容易。