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