when "resize" i use this under Xbase++
- Code: Select all Expand view
- 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
Question :
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/windows/win32/api/winuser/nf-winuser-lockwindowupdate
i use this under HMG
- Code: Select all Expand view
- #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()