Page 2 of 2

Re: "waiting" type progress bar...

Posted: Mon Apr 17, 2023 4:31 pm
by ebs
Fred wrote: Mon Apr 17, 2023 4:20 pm RASHAD hidden magic, don't try to understand it. Just accept.
If I have to... :D

Re: "waiting" type progress bar...

Posted: Mon Apr 17, 2023 5:58 pm
by Demivec
ebs wrote: Mon Apr 17, 2023 4:17 pm
RASHAD wrote: Wed Apr 12, 2023 2:45 pm

Code: Select all

  SendMessage_(GadgetID(0),1034,1,0)  
PLEASE tell me what Windows message 1034 is!
I looked at all the messages that have that value and I can't see anything that relates to a progress bar.
Perhaps it is PBM_SETMARQUEE.

Re: "waiting" type progress bar...

Posted: Mon Apr 17, 2023 8:06 pm
by ebs
Demivec wrote: Mon Apr 17, 2023 5:58 pm Perhaps it is PBM_SETMARQUEE.
Got it...

Using

Code: Select all

SetGadgetState(0, -1)
does sort of the same thing, just slower.

Re: "waiting" type progress bar...

Posted: Mon Apr 17, 2023 8:08 pm
by normeus
to "Hasselhoff" it, Replace the first if with:

Code: Select all

  Static y=1
  x - y
  If x = -100 Or x =380 
    y = y*(-1) 
  EndIf
Thank you Rashad

Norm.