SetWindowSubclass (COMCTL32.410)
BOOL SetWindowSubclass ( HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uIDSubclass, DWORD_PTR dwRef )
Starts a window subclass.
hWnd | [In] | handle to window subclass. |
pfnSubclass | [In] | Pointer to new window procedure. |
uIDSubclass | [In] | Unique identifier of sublass together with pfnSubclass. |
dwRef | [In] | Reference data to pass to window procedure. |
Success: non-zero
Failure: zero.
If an application manually subclasses a window after subclassing it with this Api and then with this Api again, then none of the previous subclasses get called or the original window procedure.
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
Implemented in "dlls/comctl32/commctrl.c". source.winehq.org/source/dlls/comctl32/commctrl.c
Debug channel "commctrl".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.