Changeset 1425 for trunk/src/user32/button.cpp
- Timestamp:
- Oct 24, 1999, 1:05:05 AM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32
-
Property svn:ignore
set to
user32.lrf
user32exp.def
resource.asm
-
Property svn:ignore
set to
-
trunk/src/user32/button.cpp
r1368 r1425 1 /* $Id: button.cpp,v 1.1 3 1999-10-20 06:38:08sandervl Exp $ */1 /* $Id: button.cpp,v 1.14 1999-10-23 23:04:32 sandervl Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 17 17 #include "button.h" 18 18 #include <misc.h> 19 #include "initterm.h" 19 20 20 21 //Prototypes … … 128 129 { 129 130 BITMAP bmp; 130 HINSTANCE hinst; 131 132 //CB: Open32 hack to load our own bitmap 133 hinst = LoadLibraryA("USER32.DLL"); 134 hbitmapCheckBoxes = NativeLoadBitmap(hinst,MAKEINTRESOURCEA(OBM_CHECKBOXES)); 135 FreeLibrary(hinst); 131 132 hbitmapCheckBoxes = LoadBitmapA(hInstanceUser32, MAKEINTRESOURCEA(OBM_CHECKBOXES)); 133 GetObjectA( hbitmapCheckBoxes, sizeof(bmp), &bmp ); 136 134 if (GetObjectA(hbitmapCheckBoxes,sizeof(bmp),&bmp)) 137 135 {
Note:
See TracChangeset
for help on using the changeset viewer.