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.
我在WM_DRAWITEM中完成绘画后,Windows 似乎绘制了子菜单箭头,如何阻止 Windows 绘制箭头?
请参阅所有者在 CodeGuru 上绘制子菜单箭头。
简而言之,操作系统总是在您完成绘制菜单项后绘制箭头,但您可以在完成绘制后将ExcludeClipRect()菜单项的矩形从HDC' 可绘制区域中排除,以便操作系统可以' t 画在你的画上。
ExcludeClipRect()
HDC