Lines Matching refs:hdc
196 HDC hdc = GetDC( m_hwnd ); in calcWindowRect() local
200 hdc, GetStockObject( DEFAULT_GUI_FONT ) ); in calcWindowRect()
208 hdc, in calcWindowRect()
229 SelectObject( hdc, oldFont ); in calcWindowRect()
231 ReleaseDC( m_hwnd, hdc ); in calcWindowRect()
273 HDC hdc = GetDC( m_hwnd ); in adjustWindowPos() local
281 int xScreen = GetDeviceCaps( hdc, HORZRES ); in adjustWindowPos()
282 int yScreen = GetDeviceCaps( hdc, VERTRES ); in adjustWindowPos()
305 ReleaseDC( m_hwnd, hdc ); in adjustWindowPos()
312 void SAL_CALL CHelpPopupWindow::onPaint( HWND hWnd, HDC hdc ) in onPaint() argument
329 oldBrush = SelectObject( hdc, hBrush ); in onPaint()
332 hpenOld = SelectObject( hdc, hpen ); in onPaint()
334 Rectangle( hdc, in onPaint()
340 SelectObject( hdc, oldBrush ); in onPaint()
341 SelectObject( hdc, hpenOld ); in onPaint()
349 oldBrush = SelectObject( hdc, hBrush ); in onPaint()
352 hpenOld = SelectObject( hdc, hpen ); in onPaint()
354 Rectangle( hdc, in onPaint()
360 SelectObject( hdc, oldBrush ); in onPaint()
361 SelectObject( hdc, hpenOld ); in onPaint()
373 oldBkColor = SetBkColor( hdc, GetSysColor( COLOR_INFOBK ) ); in onPaint()
374 oldTextColor = SetTextColor( hdc, COLOR_INFOTEXT ); in onPaint()
376 oldFont = SelectObject( hdc, GetStockObject( DEFAULT_GUI_FONT ) ); in onPaint()
384 hdc, in onPaint()
390 SelectObject( hdc, oldFont ); in onPaint()
391 SetTextColor( hdc, oldTextColor ); in onPaint()
392 SetBkColor( hdc, oldBkColor ); in onPaint()
397 oldBkColor = SetBkColor( hdc, RGB( 0, 0, 0 ) ); in onPaint()
398 oldTextColor = SetTextColor( hdc, RGB( 255, 255, 255 ) ); in onPaint()
403 hbrOld = SelectObject( hdc, m_hBrushShadow ); in onPaint()
407 PatBlt(hdc, in onPaint()
416 PatBlt(hdc, in onPaint()
423 SelectObject(hdc, hbrOld); in onPaint()
424 SetTextColor( hdc, oldTextColor ); in onPaint()
425 SetBkColor( hdc, oldBkColor ); in onPaint()
445 HDC hdc = GetDC( m_hwnd ); in onCreate() local
448 hdc, GetStockObject( DEFAULT_GUI_FONT ) ); in onCreate()
451 GetTextMetrics( hdc, &tm ); in onCreate()
462 SelectObject( hdc, oldFont ); in onCreate()
464 ReleaseDC( m_hwnd, hdc ); in onCreate()
508 pImpl->onPaint( hWnd, ps.hdc ); in WndProc()