diff options
| author | Pietro Gagliardi <[email protected]> | 2014-11-09 02:36:43 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-11-09 02:36:43 -0500 |
| commit | 855025b2074329fb6f5f815b36b12cca8c79dd9a (patch) | |
| tree | 5ba3c8d5fe5bca59dc99fc910736337f5dcd2d4a | |
| parent | f6879c1e265e935e7a4dcc6b431247e7d6abd19b (diff) | |
Laid the foundation for accessibility in the Windows Table.
| -rw-r--r-- | wintable/main.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/wintable/main.c b/wintable/main.c index 57110bd..dca29e9 100644 --- a/wintable/main.c +++ b/wintable/main.c @@ -659,7 +659,22 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo redrawAll(t); 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: return DefWindowProcW(hwnd, uMsg, wParam, lParam); } |
