Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RedrawWindow Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00444387
Message ID:
00445728
Vues:
24
>
>George, if the third form is modal, try adding the following code surrounding starting the third form:
>
>DECLARE INTEGER GetActiveWindow IN WIN32API
>DECLARE SHORT LockWindowUpdate IN WIN32API INTEGER hWnd
>DECLARE SHORT SetForegroundWindow IN WIN32API INTEGER hWnd
>nHWnd = GetActiveWindow()
>=LockWindowUpdate(nHWnd)
>
>*Call third form
>
>=LockWindowsUpdate(0)
>=SetForegroundWindow(nHWnd)
>>4. Release third form.
>>

Ed,

This looks like I'd be locking the window underneath so that it wouldn't be refreshed, correct? I'll try it either way but my other problem deals with the main window (Top Level Form). There are several overlapping containters that I hide and show based on which option is chosen. For some reason the screen does not refesh under Terminal Server when a container is hidden and another set to visible.

Thanks for your help. I'll try the code above.

George
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform