Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Basic equivalent to LockScreen
Message
From
03/02/2000 09:40:46
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00326433
Message ID:
00326657
Views:
38
George,

>VB forms have an hWnd property. To simulate the LockScreen property. Declare the API function LockWindowUpdate() (it's in USER32.DLL) and pass it the form's hwnd property. To "unlock" it, call the same function with 0 as the parameter.

I've used this LockWindowUpdate() function to lock updates for various activex controls. Though this seems to work for the locked window, it causes a flickering for the other windows in the desktop when releasing the lock.

Do you have the same experience, or do you have another workarround to prevent the flickering ?

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform