Stoping refresh of an element [Resolved]

Just starting out? Need help? Post your questions and find answers here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5614
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Stoping refresh of an element [Resolved]

Post 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
Last edited by Kwai chang caine on Tue Dec 30, 2025 8:45 pm, edited 1 time in total.
ImageThe happiness is a road...
Not a destination

PureBasic French Forum
Denis
Enthusiast
Enthusiast
Posts: 785
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Stoping refresh of an element

Post 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.
A+
Denis
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5614
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Stoping refresh of an element

Post by Kwai chang caine »

Hello DENIS..
Happy to talk to you :D
There are a long time...even .....too much long time :wink:

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 :mrgreen:

Thanks a lot for your help, and have a very good end of year 8)
ImageThe happiness is a road...
Not a destination

PureBasic French Forum
Post Reply