|
|
#1 |
|
Junior Member
Join Date: Apr 2006
Posts: 37
|
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 ? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
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?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2006
Posts: 37
|
It's all in the bitmap inside the msstyles file. Here's a screenshot:
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
|
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 Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2006
Posts: 37
|
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...
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
|
Ah so the partially selected ones are the ones with the - in them?
-Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2006
Posts: 37
|
yup... here's its equivalent in the default XP visual style
|
|
|
|
|
|
#8 |
|
Major Dude
|
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.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|