I insert a brush into image and I try to make a scroll of a dialog
when i move the scroll the bruh make error see here :
How I can resolve it ?
DEFINE BRUSH oBrush1 FILENAME ".\bitmaps\spiaggia.bmp"
DEFINE DIALOG oDlg SIZE 1100,700 BRUSH oBrush1 ;
STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;
WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME,WS_VSCROLL,WS_HSCROLL )
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oScrWnd:=TScrWnd():New( oDlg,1,28,1,18)