Page 1 of 1
Stoping refresh of an element [Resolved]
Posted: Mon Dec 29, 2025 10:13 pm
by Kwai chang caine
Hello at all
I don't know if when i move the bar of a splittergadget, the gadget inside it, is redraw or refresh ?
If it is refresh at each move, is it possible to stop this refresh during the move ?
Have a good day
Re: Stoping refresh of an element
Posted: Tue Dec 30, 2025 8:13 am
by Denis
Salut KCC,
did you try with
SendMessage_(WindowID(Window),#WM_SETREDRAW,#False,0)
SendMessage_(WindowID(Window),#WM_SETREDRAW,#True,0)
Microsoft :
https://learn.microsoft.com/en-us/windo ... -setredraw
I use Nexus2 from Srod (nx_splitter) but the code in no longer available.
When i want to do what you're looking for, only the TrackBar is moving, no flickering at all and when I release the trackbar, the content is refresh or redrawn depending of its size, if it is covered etc.
Re: Stoping refresh of an element
Posted: Tue Dec 30, 2025 7:45 pm
by Kwai chang caine
Hello DENIS..
Happy to talk to you
There are a long time...even .....too much long time
Yes that work....thanks for your function i have the answer to my question
The object inside, is REDRAW and not refresh
This doesn't help my situation.
It's not the good to stop the redraw, because the object disapear
About NEXUS, that reminds me of something., but i never used it
I take when even a look, sometime a miracle can happen during this period
Thanks a lot for your help, and have a very good end of year
