mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
transparent screen picture
svn path=/trunk/; revision=21748
This commit is contained in:
@@ -592,7 +592,7 @@ INT_PTR CALLBACK BackgroundPageProc(HWND hwndDlg,
|
||||
hdcMem = CreateCompatibleDC(hdc);
|
||||
SelectObject(hdcMem, hBitmap);
|
||||
|
||||
BitBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, SRCCOPY);
|
||||
TransparentBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, cxSource, cySource, 0xFF80FF);
|
||||
|
||||
DeleteDC(hdcMem);
|
||||
EndPaint(hwndDlg, &ps);
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<define name="__USE_W32API" />
|
||||
<define name="_WIN32_IE">0x600</define>
|
||||
<define name="_WIN32_WINNT">0x501</define>
|
||||
<define name="WINVER">0x501</define>
|
||||
<define name="_WIN32" />
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
@@ -17,6 +18,7 @@
|
||||
<library>setupapi</library>
|
||||
<library>shell32</library>
|
||||
<library>ntdll</library>
|
||||
<library>msimg32</library>
|
||||
<file>classinst.c</file>
|
||||
<file>desk.c</file>
|
||||
<file>background.c</file>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
@@ -582,7 +582,7 @@ SettingsPageProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lPar
|
||||
hdcMem = CreateCompatibleDC(hdc);
|
||||
SelectObject(hdcMem, hBitmap);
|
||||
|
||||
BitBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, SRCCOPY);
|
||||
TransparentBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, cxSource, cySource, 0xFF80FF);
|
||||
|
||||
DeleteDC(hdcMem);
|
||||
EndPaint(hwndDlg, &ps);
|
||||
|
||||
Reference in New Issue
Block a user