Mercurial > dwindows
changeset 862:9750236bcdd5
Experimental change to bitmap loading to allow virtual transparent backgrounds using resources on Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 02 Apr 2011 07:04:06 +0000 |
parents | 8f2722696a8e |
children | b405182033a0 |
files | win/dw.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/win/dw.c Fri Apr 01 21:00:42 2011 +0000 +++ b/win/dw.c Sat Apr 02 07:04:06 2011 +0000 @@ -5827,7 +5827,7 @@ if(id) { - hbitmap = LoadBitmap(DWInstance, MAKEINTRESOURCE(id)); + hbitmap = LoadImage(DWInstance, MAKEINTRESOURCE(id), IMAGE_BITMAP, 0, 0, LR_LOADMAP3DCOLORS | LR_SHARED); icon = LoadImage(DWInstance, MAKEINTRESOURCE(id), IMAGE_ICON, 0, 0, LR_SHARED); } else if(filename)