News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Gdiplus HELP

Started by PushPop, January 22, 2018, 06:10:42 AM

Previous topic - Next topic

PushPop

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

LordAdef

Hey PushPop,

There is a file missing, I canĀ“t build it

fearless

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.

mabdelouahab

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

PushPop

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