Laid the foundation for accessibility in the Windows Table.
This commit is contained in:
parent
f6879c1e26
commit
855025b207
|
@ -659,7 +659,22 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo
|
||||||
redrawAll(t);
|
redrawAll(t);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
// otherwise fall through
|
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
||||||
|
case WM_GETOBJECT: // accessibility
|
||||||
|
/*
|
||||||
|
if (((DWORD) lParam) == OBJID_CLIENT) {
|
||||||
|
TODO *server;
|
||||||
|
LRESULT lResult;
|
||||||
|
|
||||||
|
// TODO create the server object
|
||||||
|
lResult = LresultFromObject(IID_IAccessible, wParam, server);
|
||||||
|
if (/* TODO failure */)
|
||||||
|
abort();
|
||||||
|
// TODO release object
|
||||||
|
return lResult;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
||||||
default:
|
default:
|
||||||
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue