Winforms Flickering While Drawing Image on Taskbar
问题 Right now I'm drawing a small 16x16 image on the title bar of my window. It works nicely, except for an obnoxious flicker that I cant figure out how to get rid of. I'm simply drawing the image like this: Protected Overrides Sub WndProc(ByRef m As Message) If m.Msg = WM_SIZE Then wnd_size = New Size(New Point(CInt(m.LParam))) End If If m.Msg = WM_ACTIVATE _ OrElse m.Msg = WM_SIZE _ OrElse m.Msg = WM_SYNCPAINT _ OrElse m.Msg = WM_NCACTIVATE _ OrElse m.Msg = WM_NCCREATE _ OrElse m.Msg = WM