SetWindowLongW, GetWindowLongW, CallWindowProcW missing
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
Unicode windows cannot be controlled by the existing functions.
(Except via re-setting the windowproc with ctypes...SetWindowLongW plus routing all unicode picky messages (like WM_S/GETTEXT, EM_REPLACESEL,...) through the message map and subclass-call ctypes....CallWindowProcW)
The W versions of SetWindowLongW, GetWindowLongW, CallWindowProcW are needed for that.
For SetWindowLongW(hwnd, wc.GWL_WNDPROC, msgmap) a extra dict/func handler UnicodeWindowProc needs to be used, which defaults to calling CallWindowProcW(oldfunc, ...)