kookh
25th April 2006 20:38 UTC
Plugin Request for Check Bitmaps
Having a visual style friendly systreeview32 on the components page is a popular classic request. However, developers have made it clear that it can't be done.
Alternatively, I though maybe someone could make a plugin that generates a check bitmap file from the current visual style during runtime. A user's current visual style is stored in the registry and the bitmap for checkboxes is a bitmap resource inside the msstyles file.
Is this feasible ?
kichik
28th April 2006 12:02 UTC
It should be possible. However, how will you generate the special modes of the check boxes? How will you generate a read-only check box from the visual style?
kookh
28th April 2006 22:19 UTC
It's all in the bitmap inside the msstyles file. Here's a screenshot:
Afrow UK
28th April 2006 22:28 UTC
You still need a partially selected one. I guess you could combine two with some opacity but I wouldn't have a clue how to do that :)
-Stu
kookh
29th April 2006 01:25 UTC
the attached image shows unchecked, partially selected, and selected checkboxes in all 4 states: normal, hovered, focused, and disabled. I believe that includes all the needed checkboxes so there's no need to combine more than one image with some opacity...
Afrow UK
29th April 2006 08:55 UTC
Ah so the partially selected ones are the ones with the - in them?
-Stu
kookh
29th April 2006 14:07 UTC
yup... here's its equivalent in the default XP visual style
deguix
3rd May 2006 01:46 UTC
Hmmm.... InstallOptionsEx implements checkboxes like the ones in the NSIS's own TreeView control. My code could be used to implement the style of checkboxes you told me about, with changes. I'm in vacation right now, and that project is abandoned, but if there is enough positive comments about this idea, and some incentive for me, I could restart working on that after some time I get back.