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
- :
- Masked Edit control attributes
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
Jan 29, 2008
12:18 PM
Masked Edit control attributes
Hi there, I have a masked edit control that I have added to an exterior type dialog in a Basic MSI project. The mask I have entered is: <^^^^-^^^^-^^^^-^^^^>
I have a bitmap image underneath with a white background. However, when the control is drawn the hyphen separator is drawn with a gray halo around the character (system color). Is there any attribute I can specify for the control that tells it to display with a transparent bit set?
Also, the Masked Edit field wants to keep falling behind the bitmap once a user clicks on a button (cancel, Next, etc) and if I do not close and reopen the dialog the masked edit field no longer displays. A user has to use the TAB key to cycle through the fields or minimize and resize the setup. Is there any way to specify z-order for the controls that is honored by the installer?
I have a bitmap image underneath with a white background. However, when the control is drawn the hyphen separator is drawn with a gray halo around the character (system color). Is there any attribute I can specify for the control that tells it to display with a transparent bit set?
Also, the Masked Edit field wants to keep falling behind the bitmap once a user clicks on a button (cancel, Next, etc) and if I do not close and reopen the dialog the masked edit field no longer displays. A user has to use the TAB key to cycle through the fields or minimize and resize the setup. Is there any way to specify z-order for the controls that is honored by the installer?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 29, 2008
12:50 PM
I have looked up the hex code for WS_EX_TRANSPARENT - which is 32 decimal. Setting the Attribute column to 32 for this control sets the control to not visible for the ultimate in true transparency. But alas, tis not what my heart desired for the lovely silhouette of the control must be visible but not its gray heart! So how do I make light break yonder heart? :confused: :confused: :rolleyes: