Jump to content
Sign in to follow this  
NewKreation

GUIToolbar and GUITreeView Transparency

Recommended Posts

NewKreation

On two (2) Windows 2000 machines, transparency seems to not be working. Is this a known limitation or bug? Am I missing something in the manual?

Screen Shot #1

The right arrow in the middle of the screen shot is added using GUICtrlCreateIcon then GUICtrlSetImage commands. The transparency on the arrow is working. The toolbar icons transparency looks great on Windows XP machines. However, running on Windows 2000, the icons appear with black in the background. The toolbar was created using _GUICtrlToolbar_Create.

Screen Shot #2

The black also appears behind the program icon and behind the icons made using _GUICtrlTreeView_Create.

Thanks in advance,

post-3542-1225828832_thumb.pngpost-3542-1225828839_thumb.png


Share this post


Link to post
Share on other sites
NewKreation

Got it!

I need to be specifying the mask at the end of the _GUIImageList_Create command.

i.e. _GUIImageList_Create(16, 16, 5, 1)


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×