Menu

#573 SetWindowLongW, GetWindowLongW, CallWindowProcW missing

open
nobody
win32 (141)
5
2011-12-12
2011-12-12
kxroberto
No

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, ...)

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.