AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ListView renders ineffective BackgroundTrans in Tab Control

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Hardeep



Joined: 02 Jul 2006
Posts: 87

PostPosted: Wed Jul 25, 2007 10:53 am    Post subject: ListView renders ineffective BackgroundTrans in Tab Control Reply with quote

Adding ListView to a themed Tab control, renders ineffective the BackgroundTrans option of a Text control added earlier to the Tab.
Code:
Gui, Add, Tab, Theme -Background, Tab1|Tab2
Gui, Add, Text, h40 w100, Hello World!
Gui, Add, ListView, ,Col1|Col2
Gui,Show
Return

GuiEscape:
GuiClose:
ExitApp
Are there any workarounds..please?
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Jul 25, 2007 12:15 pm    Post subject: Reply with quote

I doubt there is any workaround because the current behavior is caused by other workarounds to make tab controls cooperate with ListViews. The only way to solve this is probably to design and create a proper tab control that supports themes/backgrounds. I believe this would require a special window inside the tab control to be the parent of all the tab's controls (by contrast, the current behavior draws controls directly on top of a tab control).

There's a tentative plan to improve tab controls, but it probably won't get done for a long time. Before then, there's a good chance someone will use DllCall/OnMessage to create a better tab control.
Back to top
View user's profile Send private message Send e-mail
Hardeep



Joined: 02 Jul 2006
Posts: 87

PostPosted: Thu Jul 26, 2007 11:28 am    Post subject: Reply with quote

Thanks for replying...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group