Original Post
🔒 Locked
Win32 Objects
Advertisement
er, I don''t think so. You can put a button right into a parent form without creating a child window for it, and it doesn''t have it''s own wndProc... is that what you meant?
If you can get a window handle to the object, then somewhere, there was a WNDCLASSEX for it, and there is a WndProc for it. There are APIs that you can use to retrieve the class name given a window handle, and then from that class name, retrieve the information associated with that class (ie. the WNDCLASSEX structure). You can also retrieve the WndProc using the GetWindowLong[Ptr] function. This is how subclassing windows works.
-Brannon
-Brannon
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement