Guys, I would like to know if there is any way to improve the speed of the MDI in Clarion, I’m using ABC, would you have any tips for me? I appreciate any tips!
Hmm… move the mouse faster?
1 Like
What exactly seems slow to you?
Moving MDI Child screens, like a blur…
There is a way to make just the outline of the screen appear while dragging the window to a new location.
Would that work for you?
yes, can you help me?
Here’s some code I wrote decades ago —v
MODULE('win32')
SystemParametersInfo( LONG uAction, LONG uParam, *? lpvParam, LONG fuWinIni ), LONG, RAW, PASCAL, DLL(TRUE), NAME('SystemParametersInfoA'),PROC
END
ClearFullDrag PROCEDURE()
SPI_GETDRAGFULLWINDOWS EQUATE(38)
SPI_SETDRAGFULLWINDOWS EQUATE(37)
SPIF_UPDATEINIFILE EQUATE( 1)
SPIF_SENDWININICHANGE EQUATE( 2)
lCurrentSetting LONG
CODE
SystemParametersInfo(SPI_GETDRAGFULLWINDOWS, FALSE, lCurrentSetting, SPIF_SENDWININICHANGE+SPIF_UPDATEINIFILE)
if lCurrentSetting
SystemParametersInfo(SPI_SETDRAGFULLWINDOWS, FALSE, lCurrentSetting, SPIF_SENDWININICHANGE+SPIF_UPDATEINIFILE)
end
Here’s similar code I found with a few bing searches
winforms – Turn off Show window contents while dragging setting while displaying my C# windows forms – Tech Help Notes