The information in this article applies to:
SUMMARY
It is possible to subclass an entire window class by using the
SetClassLong() function. However, doing so will only subclass windows
of that class created after the call to the SetClassLong() function.
Windows created before the call to the SetClassLong() function are not
affected.
MORE INFORMATION
Calling the SetClassLong() function with the GCL_WNDPROC index changes
the class function address for that window class, creating a subclass
of the window class. When a subsequent window of that class is created,
the new class function address is inserted into its window structure,
subclassing the new window. Windows created before the call to the
SetClassLong() function (in other words, before the class function
address was changed) are not subclassed.
Additional query words: listbox scrollbar
Keywords : kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS kbWndw kbWndwClass kbWndwProc |
Last Reviewed: February 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |