View previous topic :: View next topic |
Author |
Message |
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Jan 15, 2005 11:06 pm Post subject: transparent dialog elements |
|
|
hi jules,
would it be possible in vds 6 to have all the dialog elements with the TRANSPARENT option - i am so tired of setting a background to my programs only to find checkboxes are not transparent, trackbars are not transparent, and so on . . .
thanks
serge _________________
|
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Sun Jan 16, 2005 11:49 am Post subject: |
|
|
Windows controls that have a window handle (i.e. all the dialog elements except TEXT and BITMAP) don't have a transparent property. It isn't a native function of Windows. They are all opaque rectangular windows, so they have a background color that has to be specified. VDS doesn't provide a transparent property for these controls because the property doesn't exist.
The specified background isl overridden when XP themes are active, in any case. Then, controls are effectively transparent, whatever you specify. But in fact, controls are not transparent. What happens is that when the background to the control is drawn, the control's repaint code has to call to the Windows common controls library to get it to draw the correct background for the control. Because if that, even if you specify a background color, under XP with themes enabled it will be ignored.
It would be better if VDS didn't allow the background colors of windows and controls to be changed at all. If you do change them, the result may not be pretty when the program is run using an XP theme. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Jan 17, 2005 8:00 am Post subject: |
|
|
what a shame as it makes using a photo as a background to a program, for example, practically impossible to use as elements like checkboxes display the grey box around them and the end product interface is quite ugly
thanks for your reply
serge _________________
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|