Ignore:
Timestamp:
Oct 24, 1999, 1:05:05 AM (26 years ago)
Author:
sandervl
Message:

Combobox + windowpos changes + fixes

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
  • trunk/src/user32/combo.cpp

    r1391 r1425  
    1 /* $Id: combo.cpp,v 1.8 1999-10-21 12:19:26 sandervl Exp $ */
     1/* $Id: combo.cpp,v 1.9 1999-10-23 23:04:33 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    1515#include "controls.h"
    1616#include "combo.h"
     17#include "initterm.h"
    1718
    1819  /* bits in the dwKeyData */
     
    6061  {
    6162    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));
    6867    if(hComboBmp)
    6968    {
     
    165164{
    166165  RECT windowRect;
    167 
    168   //SvL: Doesn't work for us
    169   return;
    170166
    171167  GetWindowRect(CB_HWND(lphc), &windowRect);
     
    17211717       }
    17221718       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);
    17241721   }
    17251722
Note: See TracChangeset for help on using the changeset viewer.