John Hall wrote: 

                I wanted to add a checkbox at the end of my installer
and found the WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT property. However,
when the checkbox is displayed it is drawn with the wrong background
colour - see the attached screenshot. This is with Wix 3.0.3120.0.
                 
                Is there a way around this?


        No. Unfortunately, checkbox controls don't support transparency.
        
        

                I guess one way would be to draw the checkbox without a
label and then add a Text control with the transparent attribute set. Is
there an easy way to replace just one dialog in one of the standard UI
sets?


        That's bad for two reasons:
        
        1. It breaks user expectations, because many users expect to be
able to click the checkbox's text. (Though that might be less true
thanks to awful Web UI.)
        2. It breaks accessibility as the checkbox no longer has
associated text that screen readers can read.
        3. (Bonus reason!) The checkbox itself uses the default control
background so you can't avoid it entirely.
        
        The best workaround is to use a bitmap that doesn't have a bunch
of white in it. 

Thanks Bob. I think I was being a little bit thick - I had forgotten
that the bitmap extends across the whole of the dialog. It seems to be
that if the standard dialog sets are going to offer the option to
display that checkbox they shouldn't by default use a bitmap that
extends into the area where the checkbox is drawn. As far as I can see
this problem I had will always be an issue.

         
        You should be able to replace ExitDialog but you'll need to copy
the fragment for whichever dialog set you're using to do so.
        

Do you mean I have to make a copy of the whole dialog set, or can I just
copy and modify ExitDialog.wxs from the source tree?
 
Cheers,
John 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to