Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th April 2006, 19:38   #1
kookh
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 ?
kookh is offline   Reply With Quote
Old 28th April 2006, 11:02   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 28th April 2006, 21:19   #3
kookh
Junior Member
 
Join Date: Apr 2006
Posts: 37
It's all in the bitmap inside the msstyles file. Here's a screenshot:
Attached Images
File Type: png untitled-2.png (41.6 KB, 161 views)
kookh is offline   Reply With Quote
Old 28th April 2006, 21:28   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 29th April 2006, 00:25   #5
kookh
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...
kookh is offline   Reply With Quote
Old 29th April 2006, 07:55   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 29th April 2006, 13:07   #7
kookh
Junior Member
 
Join Date: Apr 2006
Posts: 37
yup... here's its equivalent in the default XP visual style
Attached Images
File Type: png luna.png (35.2 KB, 163 views)
kookh is offline   Reply With Quote
Old 3rd May 2006, 00:46   #8
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,353
Send a message via ICQ to deguix
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.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump