Fixed CB_DIR16 handling.

This commit is contained in:
Carlos Lozano 2003-11-14 20:58:36 +00:00 committed by Alexandre Julliard
parent adfa5e101f
commit 1351566456
1 changed files with 3 additions and 6 deletions

View File

@ -2233,13 +2233,10 @@ static LRESULT ComboWndProc_common( HWND hwnd, UINT message,
case CB_GETDROPPEDSTATE:
return (lphc->wState & CBF_DROPPED) ? TRUE : FALSE;
case CB_DIR16:
lParam = (LPARAM)MapSL(lParam);
message = LB_DIR16;
/* fall through */
return SendMessageA(lphc->hWndLBox, LB_DIR16, wParam, lParam);
case CB_DIR:
if(message == CB_DIR) message = LB_DIR;
return unicode ? SendMessageW(lphc->hWndLBox, message, wParam, lParam) :
SendMessageA(lphc->hWndLBox, message, wParam, lParam);
return unicode ? SendMessageW(lphc->hWndLBox, LB_DIR, wParam, lParam) :
SendMessageA(lphc->hWndLBox, LB_DIR, wParam, lParam);
case CB_SHOWDROPDOWN16:
case CB_SHOWDROPDOWN: