Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lockscreen does not lock
Message
 
To
14/08/2008 05:10:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01338795
Message ID:
01338798
Views:
26
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform