English
Source / code snippets

Animiertes terminate one Dialogs

 

Julian
Schmidt
weiches terminate one Dialogs
CompileMarkSeparation
Def SetLayeredWindowAttributes(4) !"USER32","SetLayeredWindowAttributes"

Proc ExitAnimated

    Parameters Hwnd%,time%
    var i%=100

    while i%>=0

        i%=i%-1
        External("USER32","SetWindowLongA",Hwnd%, -20, External("USER32","GetWindowLongA",Hwnd%,-20) | $80000)
        SetLayeredWindowAttributes(Hwnd%, 0, (255 * i%) / 100, $2)
        sleep (time%/100)

    Endwhile

    destroywindow(Hwnd%)

EndProc

cls
Usermessages 16

while 1

    waitinput
    case %umessage=16 : break

Endwhile

ExitAnimated(%hwnd,100
>)
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/21/12  
 




RudiB.
the Window blitzt to that Schluss once more short on, therefore Have I 2 small Changes undertaken...
Def SetLayeredWindowAttributes(4) !"USER32","SetLayeredWindowAttributes"

Proc ExitAnimated

    Parameters Hwnd%,time%
    var i%=100

    while i%>=2'   Änderung of 0 on 2

        i%=i%-1
        External("USER32","SetWindowLongA",Hwnd%, -20, External("USER32","GetWindowLongA",Hwnd%,-20) | $80000)
        SetLayeredWindowAttributes(Hwnd%, 0, (255 * i%) / 100, $2)
        sleep (time%/100)

    Endwhile

    showwindow(Hwnd%,0)'   Änderung ...here becomes the window to that end there cache. now is it really one weiches Hide..
    destroywindow(Hwnd%)

ENDPROC

cls
User Messages 16

while 1

    waitinput
    case %umessage=16 : break

Endwhile

ExitAnimated(%hwnd,100)

now is it really one weiches Hide...
 
XProfan X4
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
03/09/22  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.513 Views

Untitledvor 0 min.
Gast.081510/03/24
Member 862464105/12/24
E.T.12/28/23
Axel Berse11/14/23
More...

Themeninformationen

this Topic has 2 subscriber:

RudiB. (1x)
Julian Schmidt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie