Transparent bitmap on folder
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Transparent bitmap on folder
Hello,
I still have problem to display a transparent bitmap on folder with xp theme. See www.softwarexp.co.uk/beta/bitmap_on_folder.gif
I'm working with xHarbor 0.99.5+FWH26
Is there a solution available ?
Thanks in advance
Marco Turco
I still have problem to display a transparent bitmap on folder with xp theme. See www.softwarexp.co.uk/beta/bitmap_on_folder.gif
I'm working with xHarbor 0.99.5+FWH26
Is there a solution available ?
Thanks in advance
Marco Turco
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Marco,
The problems comes from the gradient background where the bitmap is painted on.
FWH already provides a special function to paint transparent on gradient background:
source is located at source\function\fwbmp.c. The problem is that we don't know why yet, this function looses GDI resources. We have been trying several times to find whats going wrong with it, but with no luck up to now.
If we could fix it, then we could easily paint transparent over a gradient background.
The problems comes from the gradient background where the bitmap is painted on.
FWH already provides a special function to paint transparent on gradient background:
Code: Select all
void TransBmp( HBITMAP hBitmap, int iXsize, int iYsize,
COLORREF rgbTransparent, HDC hDC,
int iXOffset, int iYOffset, int iWidth, int iHeight )
If we could fix it, then we could easily paint transparent over a gradient background.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: