Ignore:
Timestamp:
Apr 24, 2002, 10:56:17 AM (23 years ago)
Author:
sandervl
Message:

PF: listbox fix when button clicked outside control (rollup dropdown); minimize fixes (activation + z-order)

File:
1 edited

Legend:

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

    r6269 r8301  
    1 /* $Id: listbox.cpp,v 1.27 2001-07-09 18:10:44 sandervl Exp $ */
     1/* $Id: listbox.cpp,v 1.28 2002-04-24 08:56:16 sandervl Exp $ */
    22/*
    33 * Listbox controls
     
    20402040        ReleaseCapture();
    20412041        LISTBOX_SetSelection( hwnd, pDescr, pDescr->lphc->droppedIndex, FALSE, FALSE );
     2042#ifdef __WIN32OS2__
     2043        COMBO_RollupListbox(pDescr->lphc);
     2044 
     2045       /* @@PF Previous code is all wrong here. Here we are supposed to close
     2046         and only close dropdown, instead flip, flips it. This happens because
     2047         previous code did not pay attention to the fact that combobox can be
     2048         closed with SendMessage by application, as MFC apps do     
     2049         COMBO_FlipListbox( pDescr->lphc, FALSE, FALSE ); */
     2050#else
    20422051        COMBO_FlipListbox( pDescr->lphc, FALSE, FALSE );
    2043 
     2052#endif
    20442053        return 0;
    20452054      } else
Note: See TracChangeset for help on using the changeset viewer.