FADE IN AND FADE OUT

FADE IN AND FADE OUT

Postby Silvio.Falconi » Mon Nov 18, 2019 12:02 pm

Can I make a fadein/out of a control there is on a dialog ?
have you a sample pls ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: FADE IN AND FADE OUT

Postby AntoninoP » Mon Nov 18, 2019 1:32 pm

It is not a duplicate of viewtopic.php?f=3&t=37673 ?
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: FADE IN AND FADE OUT

Postby Silvio.Falconi » Mon Nov 18, 2019 2:00 pm

Yes because the solution founded not run ok
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: FADE IN AND FADE OUT

Postby Jimmy » Mon Nov 18, 2019 9:01 pm

hi,

not sure if you search this
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-animatewindow

Code: Select all  Expand view  RUN
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
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 65 guests