fearless, thanx so much for your suggestion.
removed the solid brushes before the
cmp [uMsgz],110h (initdialog) and now it doesn't cause GDI leaks.
invoke CreateSolidBrush,0
mov [hColor], eaxas of these codes below which i’ve removed from the beginning of AboutProc subroutine , if i had initiated the black brush only on WM_CTLCOLORDLG and then initialize with hColor variable , it still causes GDI leaks but only when you move the aboutbox.
so i now suggest this if you don't want to cause any GDI leaks nor when you move the dialog nor while the animation plays :
mov eax,[wParamz]
invoke SetBkColor,eax,Black
invoke GetStockObject,BLACK_BRUSH
retproblem solved !
