forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


transparent dialog elements

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Jan 15, 2005 11:06 pm    Post subject: transparent dialog elements Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sun Jan 16, 2005 11:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jan 17, 2005 8:00 am    Post subject: Reply with quote

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 Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
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




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group