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
Stoping refresh of an element [Resolved]
- Kwai chang caine
- Always Here

- Posts: 5614
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Stoping refresh of an element [Resolved]
Last edited by Kwai chang caine on Tue Dec 30, 2025 8:45 pm, edited 1 time in total.
Re: Stoping refresh of an element
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.
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.
A+
Denis
Denis
- Kwai chang caine
- Always Here

- Posts: 5614
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Stoping refresh of an element
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
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

