>Dear All,
>
>Is there any way to draw directly to a form surface
>with form scrollbars enabled ?
>
>TIA
>Sergio
Hi Sergio,
That's totally possible, why not ?
Are you trying to draw in a topLevel form ?
If yes, there's a small trick to obtain the surface HWND:
LOCAL lnHWnd
IF Thisform.ShowWindow = 2
lnHWnd=SYS(2327, SYS(2325, SYS(2326,Thisform.HWnd)))
ELSE
lnHWnd = Thisform.HWnd
ENDIF
Is this what you are looking for ?