Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window contents while dragging / resizing
Message
De
06/02/2014 03:42:20
 
 
À
06/02/2014 03:37:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01593391
Message ID:
01593393
Vues:
45
>>Hi All,
>>
>>You know there is a setting in Windows display options called "Show window contents while dragging" - this shows the window's contents when you move or resize the window, dynamically resizing the contents if necessary. Is there a way to switch that off from VFP or, at least, tell my VFP app to ignore that setting. When this setting is off only the border of the window is moved or resized and once the operation is complete only then does the window contents refresh.
>
>You can set .Dockable to 1 instead of the default 0 (2 doesn't do what you want). However, border redraw performance on Vista and Win7 is abysmal and sometimes leaves trailing screen artifacts on my system (Win7) (dunno about 8/8.1).

Sorry, Al, I was not clear. I'm talking about at run-time. When a user resizes one of my application's windows I don't want Windows to send the window any re-draw messages. Instead I want it to behave as if "Show window contents while dragging" is off, let the user resize the window, and when he has finished resizing it then Windows should send the window a resize complete message and only at that point do I want to refresh my window's contents. And I would like to do this regardless of what setting the user has chosen on his machine.

If need be, I would be happy with a solution whereby I can switch off this Windows feature via an API call. I want to do this for a terminal services environment setup where I want to reduce traffic. The alternative is to find some way to switch off this feature for all users under a TS / RDP session but I haven't been able to find that setting. Even if I switch if off under the admin account, the individual user accounts default to this feature being on.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform