when "resize" i use this under Xbase++
Code: Select all | Expand
PROCEDURE MyResize(aOldSize, aNewSize, oSelf)
...
oSelf:lockUpdate(.T.)
aChild := oSelf:Childlist()
FOR ii := 1 TO LEN(aChild)
// for all Controls
NEXT
oSelf:lockUpdate(.F.)
oSelf:invalidateRect()
RETURN
a.) how can i suppress Screen "Output" while resize Control under Fivewin
b.) under Xbase++ all Controls are "repaint" using invalidateRect() but under Fiverwin EACH Control need it
---
i do have search for "LockWindowUpdate" but not found under Fivewin
https://learn.microsoft.com/en-us/windo ... ndowupdate
i use this under HMG
Code: Select all | Expand
#include "DLL.CH"
#define DLL_STDCALL 0x20
STATIC PROCEDURE DoResize( oMain, ...)
...
DLLCall( "user32.dll", DLL_STDCALL, "LockWindowUpdate", oMain:Hwnd )
// resize Controls
DLLCall( "user32.dll", DLL_STDCALL, "LockWindowUpdate", 0 )
oMain:refresh()