Frank Richter wrote:
Frank Richter frank.richter@gmail.com Add theming support. When comctl32.dll is attached to a thread, a CBT hook is set up for the current thread which intercepts all window creations. There, the class name of the window is checked. In case of a known class, the window is subclassed, and the subclass is handling the theming-related stuff. Add initial theming support for the "Button" class.
Not that I am any kind of expert here but would it not make sense to implement things the way windows does it? From what I know, windows implements it via activation contexts and manifests.
On 11.07.2005 14:47, Jonathan Wilson wrote:
Not that I am any kind of expert here but would it not make sense to implement things the way windows does it? From what I know, windows implements it via activation contexts and manifests.
Yes, doing it the exact Windows way would require to implement all that side-by-side DLL stuff - what you mentioned and probably more - first. Which requires significant effort. Doing it with hooks from comctl32 is an approximation of the Windows way (actually, they re-implement the controls in comctl32 6.0, we just partially) that works quite well - here and now.
-f.r.