Hi,
It seems that the image transparent clause doesn't runs well in a oWnd:oWndClient context.
This is a sample code that show the problem:
#include "FiveWin.ch"
#include "Image.ch"
static oWnd,oImage
//----------------------------------------------------------------------------//
function Main()
DEFINE WINDOW oWnd;
TITLE "TEST IMAGE";
color nrgb(0,0,0),nrgb(255,255,255);
MDI
@ 0, 0 IMAGE oImage file "sm_1.bmp" OF oWnd:oWndClient noborder pixel
oImage:lTransparent:=.t.
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
See www.softwarexp.co.uk/beta/testimg.jpg
Full source and executable available at:
www.softwarexp.co.uk/beta/testimg.zip
Problems with Image transparent clause
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Problems with Image transparent clause
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Hi Otto,
the problem is not bitmap related but OS related.
The transparent clause work fine in a Vista with a "classic" theme but it doesn't work in a Vista with an "Aero" theme.
How you can see at www.softwarexp.co.uk/beta/classic.jpg
with the "classic" theme the transparent clause has applied.
the problem is not bitmap related but OS related.
The transparent clause work fine in a Vista with a "classic" theme but it doesn't work in a Vista with an "Aero" theme.
How you can see at www.softwarexp.co.uk/beta/classic.jpg
with the "classic" theme the transparent clause has applied.
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP