Many api calls use this
invoke IsDlgButtonChecked,hWin,1014 ;Slide from Right
cmp eax,0
jz _Sonraki
mov ebx,AW_HIDE or AW_SLIDE or AW_HOR_NEGATIVE
jmp _Son
_Sonraki:
invoke IsDlgButtonChecked,hWin,1015 ;Slide from Left
cmp eax,0
jz _Sonraki0
mov ebx,AW_HIDE or AW_SLIDE or AW_HOR_POSITIVE
jmp _Son
_Sonraki0:
invoke IsDlgButtonChecked,hWin,1016 ;Diagonal Right to Left
cmp eax,0
jz _Sonraki1
mov ebx,AW_HIDE or AW_HOR_NEGATIVE or AW_VER_POSITIVE
jmp _Son
_Sonraki1:
invoke IsDlgButtonChecked,hWin,1017 ;Diagonal Left to Right
cmp eax,0
jz _Sonraki2
mov ebx,AW_HIDE or AW_HOR_POSITIVE or AW_VER_POSITIVE
jmp _Son
_Sonraki2:
invoke IsDlgButtonChecked,hWin,1018 ;(Blending ya da fading)
cmp eax,0
jz _Sonraki3
mov ebx,AW_HIDE or AW_BLEND
jmp _Son
_Sonraki3:
invoke IsDlgButtonChecked,hWin,1019 ;Collapse to the Center
cmp eax,0
jz _Sonraki4
mov ebx,AW_HIDE or AW_CENTER
jmp _Son
_Sonraki4:
invoke IsDlgButtonChecked,hWin,1020 ;Botton to Top
cmp eax,0
jz _Sonraki5
mov ebx,AW_HIDE or AW_VER_NEGATIVE
jmp _Son
_Sonraki5:
invoke IsDlgButtonChecked,hWin,1021 ;Top to Bottom
cmp eax,0
jz _Sonraki6
mov ebx,AW_HIDE or AW_VER_POSITIVE
jmp _Son
_Sonraki6:
invoke IsDlgButtonChecked,hWin,1022 ;Right to Left
cmp eax,0
jz _Sonraki7
mov ebx,AW_HIDE or AW_HOR_NEGATIVE
jmp _Son
_Sonraki7:
mov ebx,AW_HIDE or AW_HOR_POSITIVE;Left to Right
_Son:
invoke AnimateWindow,hWin,600,ebx
invoke EndDialog,hWin,0 ;Close the windows
ret
.endif