Seems quite useful as long as there are no other side effects (and I can't
think of any but reserve the right to be proven wrong <smile/>).


On Fri, Apr 5, 2013 at 8:48 AM, Neil Sleightholm <n...@x2systems.com> wrote:

>  I have been trying to get ThemeShowControl() to hide controls and it
> wasn’t working. The problem is that it calls ::ShowWindow() and that is
> also used to show/hide the controls on the different pages, so if you hide
> a control before the page is shown then the hide is overwritten by the page
> show.****
>
> ** **
>
> I have a workaround for this and thought I’d open it up for discussion
> before submitting it.****
>
> ** **
>
> My solution is to create a new dwInternalStyle setting
> INTERNAL_CONTROL_STYLE_HIDDEN which is set when ThemeShowControl() is
> called with a value of SW_HIDE. Then in ThemeShowPage() if the value is set
> then the control is not displayed (similar code is used by the
> INTERNAL_CONTROL_STYLE_HIDE_WHEN_DISABLED setting).****
>
> ** **
>
> Can anyone see an issue with this? Does this sound like a useful addition
> to dutil?****
>
> ** **
>
> Neil****
>
> ** **
>
> Neil Sleightholm
> X2 Systems Limited
> n...@x2systems.com****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> WiX-devs mailing list
> WiX-devs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-devs
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to