Changeset 1425 for trunk/src/user32/combo.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/combo.cpp
r1391 r1425 1 /* $Id: combo.cpp,v 1. 8 1999-10-21 12:19:26sandervl Exp $ */1 /* $Id: combo.cpp,v 1.9 1999-10-23 23:04:33 sandervl Exp $ */ 2 2 /* 3 3 * Combo controls … … 15 15 #include "controls.h" 16 16 #include "combo.h" 17 #include "initterm.h" 17 18 18 19 /* bits in the dwKeyData */ … … 60 61 { 61 62 BOOL bRet = FALSE; 62 HINSTANCE hinst; 63 64 //CB: Open32 hack to load our own bitmap 65 hinst = LoadLibraryA("USER32.DLL"); 66 hComboBmp = NativeLoadBitmap(0,MAKEINTRESOURCEA(OBM_COMBO)); 67 FreeLibrary(hinst); 63 64 //SvL: Combo bitmap is invalid 65 hComboBmp = LoadBitmapA(0, MAKEINTRESOURCEA(OBM_COMBO)); 66 // hComboBmp = LoadBitmapA(hInstanceUser32, MAKEINTRESOURCEA(OBM_COMBO)); 68 67 if(hComboBmp) 69 68 { … … 165 164 { 166 165 RECT windowRect; 167 168 //SvL: Doesn't work for us169 return;170 166 171 167 GetWindowRect(CB_HWND(lphc), &windowRect); … … 1721 1717 } 1722 1718 ReleaseCapture(); 1723 SetCapture(lphc->hWndLBox); 1719 //SvL: Don't set the capture here. Otherwise other controls don't respond the first time! 1720 // SetCapture(lphc->hWndLBox); 1724 1721 } 1725 1722
Note:
See TracChangeset
for help on using the changeset viewer.