Ignore:
Timestamp:
Oct 21, 1999, 12:35:54 AM (26 years ago)
Author:
sandervl
Message:

Combobox fixes + scrollbar position fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/combo.cpp

    r1368 r1387  
    1 /* $Id: combo.cpp,v 1.6 1999-10-20 06:38:08 sandervl Exp $ */
     1/* $Id: combo.cpp,v 1.7 1999-10-20 22:35:52 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    375375  else
    376376  {
     377    //SvL: Listbox size might have changed!
     378    if(lphc->hWndLBox)
     379        GetWindowRect(lphc->hWndLBox, lprLB);
     380
    377381    /*
    378382     * Make sure the dropped width is as large as the combobox itself.
     
    470474  LPCREATESTRUCTA  lpcs = (CREATESTRUCTA*)lParam;
    471475
     476//testestest
     477#if 1
     478  lphc->dwStyle |= CBS_SIMPLE;
     479#else
    472480  if( !CB_GETTYPE(lphc) ) lphc->dwStyle |= CBS_SIMPLE;
    473481  else if( CB_GETTYPE(lphc) != CBS_DROPDOWNLIST ) lphc->wState |= CBF_EDIT;
     482#endif
    474483
    475484  lphc->hwndself  = hwnd;
     
    15461555static void COMBO_Size( LPHEADCOMBO lphc )
    15471556  {
     1557  dprintf(("COMBO_Size"));
    15481558  CBCalcPlacement(lphc->hwndself,
    15491559                  lphc,
Note: See TracChangeset for help on using the changeset viewer.