Frank Richter wrote:
On 06.07.2005 20:22, Robert Shearman wrote:
I don't like the comctl32/theming.c file you added at all. If you are going to subclass a control, you should use the common control subclassing functions, but it's not clear to me that that is the best option.
Well, my initial idea was to set up a window creation hook and subclass (the user32) controls from there, using the subclassing functions. Being that somewhat complicated, Kevin suggested to start with the simpler SetClassLong() subclassing, and change the method later as needed.
That sounds like a good plan, but I would still recommend using SetWindowSubclass to do the subclassing. You can see the list of benfits here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla...