--- q_a/samples/subclass/readme.txt 2018/08/09 18:29:22 1.1 +++ q_a/samples/subclass/readme.txt 2018/08/09 18:29:43 1.1.1.2 @@ -12,8 +12,7 @@ More Information: The standard subclassing technique is to replace the window procedure in the window structure by using: - SetWindowLong (hwnd, GWL_WNDPROC, (LONG) -SubclassWndProc); + SetWindowLong (hwnd, GWL_WNDPROC, (LONG) SubclassWndProc); In the SUBCLASS sample, the old window procedure is also saved in a structure pointed at by the user data. Thus, any @@ -28,24 +27,4 @@ and the controls behave as normal. Thus, provides the bare bones for a "dialog editor" type of program. -The following is a list of the Win32 API functions used in -this sample: - - CallWindowPro GetMessage LocalUnlock SetCursorPos - c - CheckMenuItem GetStockObjec PostQuitMessa SetROP2 - t ge - ClientToScree GetWindowLong Rectangle SetWindowLong - n - CreateWindow GetWindowRect ReleaseCaptur SetWindowPos - e - DispatchMessa InvalidateRec ReleaseDC ShowWindow - ge t - GetCapture LoadCursor ScreenToClien TranslateMess - t age - GetClientRect LoadIcon SelectObject - GetDC LocalAlloc SetCapture - GetMenu LocalHandle SetCursor - - - +Additional reference words: CallWindowProc