[USER32][NTUSER] Fix menu arrow drawing (of DrawFrameControl) (#1752)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Wed, 24 Jul 2019 16:40:33 +0000 (01:40 +0900)
committerGitHub <noreply@github.com>
Wed, 24 Jul 2019 16:40:33 +0000 (01:40 +0900)
commit1e91a1690d554c771d703f12416321bbe4c5b53f
tree5ada0f2d3ab6cab46db4f333a66c8c1ea253dc27
parent77d3d25ae83e860417eac67b7167ad44cf262aee
[USER32][NTUSER] Fix menu arrow drawing (of DrawFrameControl) (#1752)

CORE-13211
user32!DrawFrameControl drawed invalid menu arrow when the width is shorter than the height.

- Use the squared rectangle.
- Draw it in the transparent background mode.
- Save the old background mode of HDC.

This PR will fix UltraISO's bug.
win32ss/user/ntuser/draw.c
win32ss/user/user32/windows/draw.c