Lines Matching refs:hDC

103     HDC hDC,LPRECT lpRect,SIZE size,  in DrawDragRect()  argument
152 SelectClipRgn(hDC,rgnLast); in DrawDragRect()
153 GetClipBox(hDC,&rect); in DrawDragRect()
154 hBrushOld = (HBRUSH)SelectObject(hDC,(HGDIOBJ)hBrushLast); in DrawDragRect()
155 PatBlt(hDC,rect.left,rect.top,(rect.right-rect.left),(rect.bottom-rect.top),PATINVERT); in DrawDragRect()
157 SelectObject(hDC,(HGDIOBJ)hBrushOld); in DrawDragRect()
162 SelectClipRgn(hDC,rgnUpdate); in DrawDragRect()
164 GetClipBox(hDC,&rect); in DrawDragRect()
165 hBrushOld = (HBRUSH) SelectObject(hDC,(HGDIOBJ) hBrush); in DrawDragRect()
166 PatBlt(hDC,rect.left, rect.top,(rect.right-rect.left),(rect.bottom-rect.top), PATINVERT); in DrawDragRect()
170 SelectObject(hDC,(HGDIOBJ)hBrushOld); in DrawDragRect()
171 SelectClipRgn(hDC,NULL); in DrawDragRect()
563 void Tracker::Draw(HDC hDC) const in Draw()
566 SetMapMode(hDC,MM_TEXT); in Draw()
567 SetViewportOrgEx(hDC,0, 0,NULL); in Draw()
568 SetWindowOrgEx(hDC,0, 0,NULL); in Draw()
583 pOldPen = (HPEN)SelectObject(hDC,_afxBlackDottedPen); in Draw()
585 pOldPen = (HPEN)SelectObject(hDC,(HGDIOBJ)BLACK_PEN); in Draw()
586 pOldBrush = (HBRUSH)SelectObject(hDC,(HGDIOBJ)NULL_BRUSH); in Draw()
587 nOldROP = SetROP2(hDC,R2_COPYPEN); in Draw()
589 Rectangle(hDC,rect.left, rect.top, rect.right, rect.bottom); in Draw()
590 SetROP2(hDC,nOldROP); in Draw()
600 pTemp = SelectObject(hDC,(HGDIOBJ)NULL_PEN); in Draw()
603 pTemp = SelectObject(hDC,(HGDIOBJ)_afxHatchBrush); in Draw()
606 SetBkMode(hDC,TRANSPARENT); in Draw()
607 nOldROP = SetROP2(hDC,R2_MASKNOTPEN); in Draw()
608 Rectangle(hDC,rect.left+1, rect.top+1, rect.right, rect.bottom); in Draw()
609 SetROP2(hDC,nOldROP); in Draw()
615 pTemp = SelectObject(hDC,(HGDIOBJ)_afxHatchBrush); in Draw()
618 SetBkMode(hDC,OPAQUE); in Draw()
621 PatBlt(hDC,rectTrue.left, rectTrue.top, rectTrue.right-rectTrue.left, in Draw()
623 PatBlt(hDC,rectTrue.left, rect.bottom, in Draw()
626 PatBlt(hDC,rectTrue.left, rect.top, rect.left-rectTrue.left, in Draw()
628 PatBlt(hDC,rect.right, rect.top, rectTrue.right-rect.right, in Draw()
643 FillRect(hDC,&rect,hbrush); in Draw()
651 SelectObject(hDC,pOldPen); in Draw()
653 SelectObject(hDC,pOldBrush); in Draw()
654 RestoreDC(hDC,-1); in Draw()