Progress bar windows 10 animation

User avatar
Antonio Linares
Site Admin
Posts: 42747
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 110 times
Been thanked: 108 times
Contact:

Re: Progress bar windows 10 animation

Post by Antonio Linares »

Antonino,

No need to add extra code for the else. Instead Method Initiate() should be implemented:

Code: Select all | Expand

METHOD Initiate( hDlg ) CLASS TProgress

   ::Super:Initiate( hDlg )
   SendMessage( ::hWnd, PBM_SETMARQUEE, If( ::WinStyle( PBS_MARQUEE ), 1, 0 ), 0 )

return nil


many thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply