r=mkaply, sr=blizzard
Special focus handling for combobox scrollbar


git-svn-id: svn://10.0.0.236/trunk@107333 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com 2001-11-05 14:53:04 +00:00
parent 557e1e3dec
commit c1f7cb7901

View File

@ -2101,7 +2101,8 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
{
char className[19];
::WinQueryClassName((HWND)mp1, 19, className);
if (strcmp(className, WindowClass()))
if (strcmp(className, WindowClass()) != 0 &&
strcmp(className, WC_SCROLLBAR_STRING) != 0)
isMozWindowTakingFocus = PR_FALSE;
if( gJustGotDeactivate )