Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RedrawWindow Function
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00444387
Message ID:
00445728
Views:
12
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform