This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Transparent messagebox text ??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 18, 2008
07:32 AM
Transparent messagebox text ??
Hi guys,
I am using IS 2008 Premier into deployment of my application, BASIC MSI project.
I need a checkbox, used on a custom dialog, with a custom background, and the text seems to be displayed in gray.
Could this be made? cause I tried, and did not seem to find a transparency property (as in labels) so that the text of the checkbox is not surrounded but a gray background? I used a label untill now, right next to the checkbox, but now I want to click on the text and enable/disable the checkbox, so the label is not very helpful.
Also, someone suggested to:
"Can you use Windows API in MSI installers and subclass elements? If yes, you could create a callback WndProc to subclass the WM_CTLCOLORSTATIC message of the checkbox and return a transparent brush."
but I DON'T think this is possible in a BASIC-MSI project.
Please tell me if this is possible ..
Thanks in advance,
Daniel
I am using IS 2008 Premier into deployment of my application, BASIC MSI project.
I need a checkbox, used on a custom dialog, with a custom background, and the text seems to be displayed in gray.
Could this be made? cause I tried, and did not seem to find a transparency property (as in labels) so that the text of the checkbox is not surrounded but a gray background? I used a label untill now, right next to the checkbox, but now I want to click on the text and enable/disable the checkbox, so the label is not very helpful.
Also, someone suggested to:
"Can you use Windows API in MSI installers and subclass elements? If yes, you could create a callback WndProc to subclass the WM_CTLCOLORSTATIC message of the checkbox and return a transparent brush."
but I DON'T think this is possible in a BASIC-MSI project.
Please tell me if this is possible ..
Thanks in advance,
Daniel
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2008
07:44 AM
Guys, anyone?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2008
09:34 AM
I'm not aware of a simple way to handle this; I think we do what you described, use a check box with no text, and then line up a transparent label next to it. See SetupCompleteSuccess, for example.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2008
09:38 AM
Yes, I did that; but it is required to check/uncheck the checkbox by clicking on text to, and I'm not sure how to do this ..
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)