 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
philou
Joined: 26 Jul 2006 Posts: 49 Location: Wuppertal
|
Posted: Wed Oct 31, 2007 4:18 pm Post subject: Tab, ListView, +BackgroundTrans - Let's find a solution! |
|
|
I've been trying to create a rather sophisticated GUI, where I need to use Tabs and ListViews
and would really like to be able to use +BackgroundTrans on my various controls.
The current situation just looks ugly, to be honest.
This is a call to the Windows API tinkerers, to the COM wizards and DllCall masters - help me and everyone concerned about cosmetics to get the look right.
We could:
- Try to find a way to use transparent backgrounds for controls with the existing Tab control
- Try to find a way to use a non AHK Tab control via DllCall, provided this would help with BackgroundTrans
|
|
| Back to top |
|
 |
philou
Joined: 26 Jul 2006 Posts: 49 Location: Wuppertal
|
Posted: Tue Nov 06, 2007 2:10 pm Post subject: |
|
|
| Whoohoo. First and only bump, since no one seems to care about GUI. |
|
| Back to top |
|
 |
Mkbailey755
Joined: 20 Aug 2007 Posts: 178
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2739 Location: Australia, Qld
|
Posted: Wed Nov 07, 2007 4:39 am Post subject: |
|
|
For something similar to +BackgroundTrans on controls that don't support it, you'd have to subclass the control and manually render what should be behind it. For some controls, you'd have to take complete control over rendering. In short, it can be very difficult.
Also, different versions of Windows have different "quirks." For instance, on Windows XP, the first column of a ListView control always renders a plain-coloured background, covering up (part of) whatever background you rendered.
The ListView's built-in support for backgrounds is also a little inconsistent. Tiled backgrounds, for instance: on some versions of WIndows, they scroll when you scroll the ListView; on other versions, they are static.
I started to write a function for custom ListView backgrounds a while back, but dropped it because of the aforementioned problem with XP. (I use Vista, but XP seems more common.)
This post may be of interest to you. (Set tiled background image from file or URL.) |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|