Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPLusX Drawing on a form with scrollbars
Message
From
15/12/2007 16:10:10
 
 
To
15/12/2007 13:52:29
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01276096
Message ID:
01276112
Views:
32
>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 && TopLevel Form
	lnHWnd=SYS(2327, SYS(2325, SYS(2326,Thisform.HWnd))) && From Craig Boyd
ELSE
	lnHWnd = Thisform.HWnd 
ENDIF
Is this what you are looking for ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform