Page 1 of 1

FADE IN AND FADE OUT

Posted: Mon Nov 18, 2019 12:02 pm
by Silvio.Falconi
Can I make a fadein/out of a control there is on a dialog ?
have you a sample pls ?

Re: FADE IN AND FADE OUT

Posted: Mon Nov 18, 2019 1:32 pm
by AntoninoP

Re: FADE IN AND FADE OUT

Posted: Mon Nov 18, 2019 2:00 pm
by Silvio.Falconi
Yes because the solution founded not run ok

Re: FADE IN AND FADE OUT

Posted: Mon Nov 18, 2019 9:01 pm
by Jimmy
hi,

not sure if you search this
https://docs.microsoft.com/en-us/window ... matewindow

Code: Select all

DLLFUNCTION AnimateWindow(hwnd,dwTime,dwFlags) USING STDCALL FROM USER32.DLL

     hHwnd := oDlg:GetHwnd()
     DO CASE
        CASE cOrtTaskbar = "LinksOben"
           AnimateWindow( hHwnd, 200, AW_ACTIVATE + AW_SLIDE + AW_HOR_POSITIVE + AW_VER_NEGATIVE )
        CASE cOrtTaskbar = "RechtsOben"
           AnimateWindow( hHwnd, 200, AW_ACTIVATE + AW_SLIDE + AW_HOR_NEGATIVE + AW_VER_NEGATIVE )
        CASE cOrtTaskbar = "LinksUnten"
           AnimateWindow( hHwnd, 200, AW_ACTIVATE + AW_SLIDE + AW_HOR_POSITIVE + AW_VER_POSITIVE )
        CASE cOrtTaskbar = "RechtsUnten"
           AnimateWindow( hHwnd, 200, AW_ACTIVATE + AW_SLIDE + AW_HOR_NEGATIVE + AW_VER_POSITIVE )
     ENDCASE
 
it need a Handle of Window to work.

have fun