Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPLusX Drawing on a form with scrollbars
Message
De
15/12/2007 16:10:10
 
 
À
15/12/2007 13:52:29
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01276096
Message ID:
01276112
Vues:
22
>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform