I think it is fairly safe the only place (other than my code) that it is used
is in the theme viewer.
Neil
From: Rob Mensching [mailto:[email protected]]
Sent: 05 April 2013 18:30
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] dutil - ThemeShowControl() problem
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
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
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
[email protected]<mailto:[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs