Maybe a possible solution, to use
StretchBlt()for the new Brush-functions in FWH-9.06, to get the Image-Brush adjusted to the Dialog ???
//--------- IMAGE - BRUSH ------------------------
STATIC FUNCTION DB_IMAGE( oDlg5, hDC, cFile )
LOCAL oBrush, oImg1
// cFile = Image-JPG-Background
DEFINE BRUSH oBrush FILE cFile
SET BRUSH OF oDlg5 TO oBrush
RELEASE BRUSH oBrush
// nWidth := oDlg5:nWidth()
// nHeight := oDlg5:nHeight()
// DEFINE IMAGE oImg1 FILENAME cFile
//oBrush := TBrush():New( , , cFile, , )
????RETURN NIL
The old Function with adjusted Image :
//--------- IMAGE - LOGO ------------------------
STATIC FUNCTION DL_IMAGE( oDlg5, hDC, cFile )
LOCAL oImage1
cImage := c_path + "\images\FANTASY7.jpg"
DEFINE IMAGE oImage1 FILENAME cImage
PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , oDlg5:nWidth(), oDlg5:nHeight(), , .T. )
RETURN NIL
Best Regards
Uwe