What you would have to do is setup the colour of the background and text to the 
system colours, there is a magic number for the system colours (WindowText and 
WindowBackground if memory serves me right) then the colours would match 
whatever the user has selected which is better than you hard coding them. I 
don't know the exact numbers but you should be able to search for them.

Neil

-----Original Message-----
From: The Ouizard [mailto:the.ouiz...@gmail.com] 
Sent: 31 January 2013 22:50
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Set font color in WiXUIExtension UIs

Hm, but Windows (or whatever controls the color inverter) could change it at 
any time, such that we'd have to find the new magic number where the inversion 
no longer happens.

I think it makes more sense to simply be able to make previously set font 
settings overwritable later in the WiX script file, since it seems to me that 
this would be useful in not only my situation, but also anytime someone's 
following the tutorial, but wants to customise the background and/or font, or 
in whatever other situations this may be useful that I can't conceive.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: January 31, 2013 17:36
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Set font color in WiXUIExtension UIs

Or you could contribute the fix. Find the magic number that looks black to 
humans but isn't black to the color inverter. <smile/>


On Thu, Jan 31, 2013 at 10:34 AM, The Ouizard <the.ouiz...@gmail.com> wrote:

> Thanks for promptly replying. Hm, most unfortunate if it was actually 
> done by someone but not contributed to the main WiX dev.
>
> I'd really rather not have to create my own UI. The WiX_Minimal is 
> perfect, aside from this text issue, and I'm relatively new to WiX 
> such that rolling my own is non-trivial.
>
> Barring any other solutions, I guess I (and any users with white text 
> by
> default) will just have to live with it.
>
> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: January 31, 2013 12:52
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Set font color in WiXUIExtension UIs
>
> It is possible. You can create your own UI. I guess I disagree that it 
> should be a simple, basic thing provided in the default WixUI. I 
> honestly thought the WixUI design was to make the text color "almost 
> black" but not quite black such that high contrast wouldn't pick it up 
> and flip it.  Maybe that wasn't implemented... or maybe it was 
> implemented but someone didn't bother to contribute it back to the 
> community.
>
>
>
> On Thu, Jan 31, 2013 at 9:29 AM, The Ouizard <the.ouiz...@gmail.com>
> wrote:
>
> > I've posted this twice already with no response; does no one have 
> > any idea how to solve this?
> >
> > It doesn't seem outlandish to want to support users who don't use 
> > the default display configuration. Setting/overriding a font color 
> > seems like it should be a simple and basic thing, but I haven't 
> > found anything in the documentation, the mailing list archives, or 
> > through searches on how to do it.
> >
> > If this truly isn't possible, maybe it should be posted as a feature 
> > request?
> >
> > -----Original Message-----
> > From: The Ouizard [mailto:the.ouiz...@gmail.com]
> > Sent: January 17, 2013 17:26
> > To: 'wix-users@lists.sourceforge.net'
> > Subject: RE: Text accessibility
> >
> > How can I use the provided WiXUIExtension interfaces (such as 
> > WiXUI_Mondo or WiXUI_Minimal) but change the text colour to force it 
> > to be black?
> >
> > Context:
> >
> > Some users set their Personalise display settings to high-contrast 
> > white text on black background. In the provided WiX installer UIs, 
> > the result is white text (taking the system setting, I assume), and 
> > putting it on the default white background, making the text illegible.
> >
> > So it seems the simplest solution would be to purposefully make the 
> > text black no matter what, so it is always legible on the white 
> > background. Yes, this will annoy said users, but not as much as not 
> > being able to read the installer text at all. A second, more elegant 
> > but more complicated, solution would be to somehow detect the 
> > system's default font colour, and set the background to the opposite.
> >
> > Any suggestions would be appreciated. Thank you.
> >
> >
> >
> > --------------------------------------------------------------------
> > --
> > -------- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics Download AppDynamics Lite 
> > for free today:
> > http://p.sf.net/sfu/appdyn_d2d_jan
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> ----------------------------------------------------------------------
> -------- Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics Download AppDynamics Lite 
> for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics Download AppDynamics Lite 
> for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to