Ok, I don't get this. I'm trying to compile something with the current MinGW on WinXP using the SetWindowSubclass stuff, and I've been trying to figure out why it keeps ..........ing about "undefined reference to DefSubclassProc." I have the headers included, win version, etc. It ONLY complains about DefSubclassProc, NOT SetWindowSubclass, which makes even less sense. So I open libcomctl32.a in a hex editor. Low and behold, SetWindowSubclass exists, DefSubclassProc does NOT. It's in commctrl.h but not the actual library. WHAT GIVES!?
DefSubclassProc Function ()
Minimum DLL Version comctl32.dll version 5.8 or later
Maybe it's just old.
Try again. SetWindowSubclass and GetWindowSubclass have the same minimum DLL version. The whole subclassing method was updated at v5.8. So why is DefSubclassProc missing from the library?
Originally Posted by Salem
How? I've never done that kind of stuff. and FYI, it looks like only SetWindowSubclass is there. The other 3 functions were completely ignored. What the ........?
It's been my experience that the community adds entry points (new and existing) on an as-needed basis.
How can I help out?
There are mailing lists you should join, read, and submit question(s) patches too.
Here's an interesting read on the legality of submitting Win32 patches: Gmane Loom