Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX equivalent to LockScreen?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00718086
Message ID:
00718161
Vues:
22
>Is there an Active-X equivalent to the LockScreen property on a form?
>I am using DBI's ctMonth calendar and it takes time to fill it up.

Having an hWnd, you can use the LockWindowUpdate API call:
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER hWndToLock
IF LockWindowUpdate(nMyActiveControlHWND) # 0
   *  The Lock succeeded
ELSE
   *  Some other Window is locked already; only one hWnd can be locked at a time
ENDIF
*
*  Do your Stuff
*
=LockWindowUpdate(0)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform