Ignore:
Timestamp:
Nov 17, 1999, 6:06:23 PM (26 years ago)
Author:
cbratschi
Message:

cursor handling fixed

File:
1 edited

Legend:

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

    r1724 r1762  
    1 /* $Id: combo.cpp,v 1.12 1999-11-13 16:42:41 cbratschi Exp $ */
     1/* $Id: combo.cpp,v 1.13 1999-11-17 17:04:52 cbratschi Exp $ */
    22/*
    33 * Combo controls
     
    16731673   {
    16741674       lphc->wState |= CBF_BUTTONDOWN;
     1675MessageBeep(MB_OK); //CB:
    16751676       if( lphc->wState & CBF_DROPPED )
    16761677       {
     
    18511852                return SendMessageA( lphc->hWndLBox, LB_GETTEXTLEN, j, 0);
    18521853                }
    1853                 else if( lphc->wState & CBF_EDIT )
    1854                 {
    1855                     lphc->wState |= CBF_NOEDITNOTIFY;
    1856 
    1857                     return SendMessageA( lphc->hWndEdit, message, wParam, lParam );
    1858                 }
    1859                 else return  CB_ERR;
     1854                else if( lphc->wState & CBF_EDIT )
     1855                {
     1856                    lphc->wState |= CBF_NOEDITNOTIFY;
     1857
     1858                    return SendMessageA( lphc->hWndEdit, message, wParam, lParam );
     1859                }
     1860                else return  CB_ERR;
    18601861        case WM_DRAWITEM:
    18611862        case WM_DELETEITEM:
     
    19031904                if( lphc->wState & CBF_CAPTURE )
    19041905                    COMBO_MouseMove( lphc, wParam, lParam );
    1905                 return  TRUE;
     1906                return  0;
    19061907        /* Combo messages */
    19071908
Note: See TracChangeset for help on using the changeset viewer.