Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Listbox with Transparent Background


  • Please log in to reply
11 replies to this topic
Listbox ?!
  • Guests
  • Last active:
  • Joined: --
Hey guys, how can i set the background of a Listbox transparent?
i tried it with +BackgroundTrans, but it doesn't work...
maybe u can help me!!

jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
Loop, %A_ScriptDir%\*.*

 list .= A_LoopFileName "|"

Gui, +LastFound

Gui, Color,,EEAA99

WinSet, TransColor, EEAA99

Gui, Add, ListBox, w200 r20, %list%

Gui, Show

return

GuiClose:

ExitApp


  • Guests
  • Last active:
  • Joined: --
thats good, but i can click throug the box...
I've got a background image behind the listbox and i want to display it, not the desktop!

jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
AHK has no native feature for ListBox transparency. BackgroundTrans only supports Text, Picture, and GroupBox controls. Maybe using GDI+ ?

  • Guests
  • Last active:
  • Joined: --
whats gdi?
Can u give me please a sample?
that would be wunderful!

  • Guests
  • Last active:
  • Joined: --
help plz

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
Not easy :(

CodeProject: Transparent ListBox

  • Guests
  • Last active:
  • Joined: --
Yes your right skan...

i try it since 2 weeks : /

  • Guests
  • Last active:
  • Joined: --
So maybe skan u spend a try to make it easier or maybe a tutorial for understand it better : )

n-l-i-d
  • Guests
  • Last active:
  • Joined: --

So maybe skan u spend a try to make it easier or maybe a tutorial for understand it better : )


Wow... :? You've got some nerve.

The code is clearly laid out at the CodeProject site. Don't expect anybody to take up the task for you, especially if you ask as if it were a trivial task.

  • Guests
  • Last active:
  • Joined: --
does anyone yet tried it?

  • Guests
  • Last active:
  • Joined: --
not yet?