MyWindowClass *wndptr = (MyWindowClass*) GetWindowLongPtr(hwnd, GWL_USERDATA);. Which allows you to do this: wndptr->DoSomething();. Of course, ...
確定! 回上一頁