Ignore:
Timestamp:
Oct 21, 1999, 2:19:29 PM (26 years ago)
Author:
sandervl
Message:

wm_adjustwindowpos & combobox fixes

File:
1 edited

Legend:

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

    r1387 r1391  
    1 /* $Id: combo.cpp,v 1.7 1999-10-20 22:35:52 sandervl Exp $ */
     1/* $Id: combo.cpp,v 1.8 1999-10-21 12:19:26 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    165165{
    166166  RECT windowRect;
     167
     168  //SvL: Doesn't work for us
     169  return;
    167170
    168171  GetWindowRect(CB_HWND(lphc), &windowRect);
     
    181184                windowRect.right  - windowRect.left,
    182185                windowRect.bottom - windowRect.top +
    183                   lphc->droppedRect.bottom - lphc->droppedRect.top,
     186                lphc->droppedRect.bottom - lphc->droppedRect.top,
    184187                SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE );
    185188}
     
    431434  WINDOWPOS*  posChanging)
    432435{
     436  dprintf(("COMBO_WindowPosChanging"));
     437
    433438  /*
    434439   * We need to override the WM_WINDOWPOSCHANGING method to handle all
     
    474479  LPCREATESTRUCTA  lpcs = (CREATESTRUCTA*)lParam;
    475480
    476 //testestest
    477 #if 1
    478   lphc->dwStyle |= CBS_SIMPLE;
    479 #else
    480481  if( !CB_GETTYPE(lphc) ) lphc->dwStyle |= CBS_SIMPLE;
    481482  else if( CB_GETTYPE(lphc) != CBS_DROPDOWNLIST ) lphc->wState |= CBF_EDIT;
    482 #endif
    483483
    484484  lphc->hwndself  = hwnd;
Note: See TracChangeset for help on using the changeset viewer.