uncle@milton.milton.u.washington.edu (Uncle Miltie) (05/29/91)
I am writing an application which has a floating tool palette. This palette is implemented as a modeless dialog. My main window display contains some lines rendered using the PS_DOT linestyle. With the tool palette covering the main window, the PS_DOT lines are drawn with smaller dots during WM_PAINT than they are during other events. This creates a problem when I try to erase them later using R2_NOTXORPEN mode. I think the problem is that the device context returned from GetDC is different from the one returned from BeginPaint. The clip region for the BeginPaint DC is complex whereas the GetDC clip region is rectangular. Why does windows draw the PS_DOT linestyle differently in these two cases? Is there a workaround? -- Uncle Miltie -- HANDY WAR STARBUCKS THE BIG GUN!