Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lockscreen does not lock
Message
 
À
14/08/2008 05:10:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Divers
Thread ID:
01338795
Message ID:
01338798
Vues:
25
>Hi,
>
>I have a problem with activating a new page on myPageframe:
>
>When activating a new page, on this page a container with ActiveX - Internet Explorer the Explorer box is showing before the old page is completely gone. Even Lockscreen = .t. does not give the desired effect.
>
>My coding:
>
>
>with thisform
>	.Lockscreen = .t.
>		.pageframe.PageTwo.zOrder
>	.Lockscreen = .f.
>endwith
>
>
>Any suggestions how keep the screen with only PageOne and not to show PageTwo partly ?
>
>Regards,
>
>Koen

LockScreen doesn't work with ActiveX controls.
try with LockWindowUpdate API:
DECLARE INTEGER LockWindowUpdate IN Win32API INTEGER nHandle
LockWindowUpdate(_VFP.HWND) && or _screen.hWnd, or thisform.hWnd I am not sure which of these.
thisform.Lockscreen = .t.
thisform.pageframe.PageTwo.zOrder
thisform.Lockscreen = .f.
LockWindowUpdate(0)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform