wenxibo

wenxibo

Joined Member # 6146252
0 Posts 0 Replies 79 Reputation

I had learn that RealGetWindowClass can return the base class of superclass . I built a new class "MyClass" which superclass "BUTTON" . The window proc of "MyClass" is simple : use CallWindowProc to call original proc of "BUTTON" directly . After register new "MyClass" and create a new button control , I use RealGetWindowClass to retrieve it's class name , but it return "MyClass" same as GetWindowClass , not the "BUTTON". Why ?

1 Replies 3,288 Views