子类化窗口时遇到的问题
调用 GetWindowLongA 返回 0,且 GetLastError 返回 1413
如果你是64位系统,请用 GetWindowLongPtrA 函数代替
MSDN:
Note: To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetWindowLongPtr. When compiling for 32-bit Windows, GetWindowLongPtr is defined as a call to the GetWindowLong function.