Page 1 of 1

Watermark in listbox

Posted: Fri Aug 07, 2009 2:35 pm
by ConvertFromOldNGs
by ssslinky_sssinky >> Tue, 4 Dec 2001 1:04:33 GMT

Hey, I want a watermark or pic in a list box, but still want the list box to be able 2 be clicked on and stuff. I tried putting a pic behind it, but cant make the list box transparent. Can anyone help me out?

Cheers
Aaron

Re: Watermark in listbox

Posted: Fri Aug 07, 2009 2:35 pm
by ConvertFromOldNGs
by CarlRanson >> Tue, 4 Dec 2001 20:20:01 GMT

You could probably do a bitblit to add your picture on top from the listbox_paint method so that it looks like it is drawn behind.

Can't remember the exact details of the drawing operations, but you would have to merge it so it only draws where the background is white.

It's a bit tricky to setup but should work well. Helps if you've got friends that are game programmers :)

CR