diff --git a/programs/media/animage/trunk/events_of_mouse.inc b/programs/media/animage/trunk/events_of_mouse.inc index 90db7d386f..0e05624b08 100644 --- a/programs/media/animage/trunk/events_of_mouse.inc +++ b/programs/media/animage/trunk/events_of_mouse.inc @@ -2,6 +2,13 @@ ;-------------interraction MOUSE-------------- ;--------------------------------------------- mouse: + or ecx,-1 + mcall 9,procinfo + + mov eax,[procinfo+70] ;staus of window + test eax,100b + jne still + call GetMouseCoordinats ;panel mov edx,[Window_SizeX] diff --git a/programs/media/animage/trunk/events_of_window.inc b/programs/media/animage/trunk/events_of_window.inc index 96273a5565..f83fe0e826 100644 --- a/programs/media/animage/trunk/events_of_window.inc +++ b/programs/media/animage/trunk/events_of_window.inc @@ -58,6 +58,11 @@ no_znak2: ;xor esi,esi ;0x805080d0 ; xor edi,edi ;0x005080d0 mcall 0,,,0x53aabbcc,,name_of_program + + mov eax,[procinfo+70] ;staus of window + test eax,100b + jne .end + ;------------------------------------------------ mov eax,5 mov ebx,20 @@ -162,6 +167,7 @@ no_znak2: sub ebx,25+10 call draw_volume_rectangle ; down and right small area ;------------------------------------------------ +.end: mcall 12,2 ret ;----------------------------------------------------------------------------- \ No newline at end of file