The MASM Forum
General => The Laboratory => Topic started by: PushPop on January 22, 2018, 06:10:42 AM
-
Hi guys
I need help, I'm using gidiplus, everything works, but after a few minutes it does not refresh the display anymore.
I include the sources some one can help me.
Thank you and greetings
-
Hey PushPop,
There is a file missing, I can“t build it
-
Could try InvalidateRect, hWin, NULL, TRUE followed by UpdateWindow, hWin after the Update_Timer call in the WM_TIMER event message. See if that forces it to redraw. Or even just UpdateWindow after the RedrawWindow call.
-
Maybe:
Invoke DeleteObject, hPEN_S
Invoke DeleteObject, hPEN_M
Invoke DeleteObject, hPEN_H
Invoke DeleteObject, hPEN_H hPEN_C
And
invoke CreateSolidBrush,00A6FFFFh
Mov hNullBrush, Eax
invoke crt_printf,addr cfm_,eax
Invoke SelectObject, hDC, hNullBrush
mov OldBrush,eax
Invoke FillRect, hDC, Addr hRECT, hNullBrush
invoke DeleteObject,hNullBrush
I tried it and it works well
(http://gdurl.com/rhwc)
-
Hi guys
I need help, I'm using gidiplus, everything works, but after a few minutes it does not refresh the display anymore.
I include the sources some one can help me.
Thank you and greetings
P.S. I have mistaken the file to send
I humbly apologize