Fabian Maurer : shell32: Draw text on message boxes without background.

Alexandre Julliard julliard at winehq.org
Tue Sep 5 15:18:50 CDT 2017


Module: wine
Branch: master
Commit: 755f49d7c4765c792da2c0b776300b4616f7bef4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=755f49d7c4765c792da2c0b776300b4616f7bef4

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Mon Sep  4 19:42:53 2017 +0200

shell32: Draw text on message boxes without background.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/shlfileop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 3c18066..8d4160d 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -122,6 +122,7 @@ static INT_PTR ConfirmMsgBox_Paint(HWND hDlg)
 
     BeginPaint(hDlg, &ps);
     hdc = ps.hdc;
+    SetBkMode(hdc, TRANSPARENT);
 
     GetClientRect(GetDlgItem(hDlg, IDD_MESSAGE), &r);
     /* this will remap the rect to dialog coords */




More information about the wine-cvs mailing list