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.
是否可以在不禁用视觉样式的情况下设置进度条的背景颜色PBM_SETBKCOLOR和条形颜色PBM_SETBARCOLOR?
不可以。如文档所述,必须在进度条上禁用视觉样式才能使这些消息正常工作。