Searched refs:lpdis (Results 1 – 1 of 1) sorted by relevance
118 static void OnDrawItem(HWND hwnd, LPDRAWITEMSTRUCT lpdis);705 void OnDrawItem(HWND /*hwnd*/, LPDRAWITEMSTRUCT lpdis) in OnDrawItem() argument707 MYITEM *pMyItem = (MYITEM *) lpdis->itemData; in OnDrawItem()712 BOOL fSelected = lpdis->itemState & ODS_SELECTED; in OnDrawItem()717 RECT aRect = lpdis->rcItem; in OnDrawItem()731 hbrOld = (HBRUSH)SelectObject( lpdis->hDC, CreateSolidBrush( GetBkColor( lpdis->hDC ) ) ); in OnDrawItem()779 if ( lpdis->itemState & ODS_DEFAULT ) in OnDrawItem()791 DeleteObject( SelectObject( lpdis->hDC, hbrOld ) ); in OnDrawItem()792 DeleteObject( SelectObject( lpdis->hDC, hfntOld) ); in OnDrawItem()793 SetTextColor(lpdis->hDC, clrPrevText); in OnDrawItem()[all …]
Completed in 12 milliseconds