<snip>
>>>>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.
I have found a link which describes an API which you can call and use to adjust any Windows Control Panel settings called SystemParametersInfo(). Links here:
http://support.microsoft.com/kb/97142and:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947%28v=vs.85%29.aspx#IconYou can use this API to also switch on/off the "Show Window Contents While Dragging" setting which is constant:
SPI_SETDRAGFULLWINDOWS = 0x0025,
The function definition in C++ is:
BOOL WINAPI SystemParametersInfo(
_In_ UINT uiAction,
_In_ UINT uiParam,
_Inout_ PVOID pvParam,
_In_ UINT fWinIni
);
In Visual Basic it is:
Declare Function SystemParametersInfo Lib "User" (
ByVal uAction As Integer,
ByVal uparam As Integer,
lpvParam As Any,
ByVal fuWinIni As Integer) As Integer
Anyone with knowledge on how to work this in VFP to switch off the window contents dragging feature?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.