Hi
I color my listview by selected item with WM_DRAWITEM
.if ( dis.itemState & ODS_SELECTED ) ; If Selected
invoke SetTextColor, dis.hdc, [Edi].OLB_ITEM.crTextSel
FillSolidRect dis.hdc, ADDR rTextRect, [Edi].OLB_ITEM.crBackGrndSel ; Erase Item
FillSolidRect dis.hdc, ADDR rNrRect, 00FFFFFFh ; Erase Item
.else
invoke SetTextColor, dis.hdc, [Edi].OLB_ITEM.crText
FillSolidRect dis.hdc, ADDR rTextRect, [Edi].OLB_ITEM.crBackGrnd
FillSolidRect dis.hdc, ADDR rNrRect, 00FFFFFFh ; Erase Item
.endif
Is this posible to draw the mouse over cursel to a other color?
I have try ODS_FOCUS without results.
Greets,
cursors are very similar to icons
what you might do is grab the system cursor and alter the bitmap, making your own cursor
No i mean not the courser sorry
I have it solved
Now have i this idea to owner draw the listview columnheader
is this possible ?
My idea is LoadBitmap and get the Header with LVM_GETHEADER what is the next steps for it
or give for it an example?
Greets,
Hello
I try to draw a Bitmap on the listview header
What is the best way on WM_PAINT or NM_CUSTOMDRAW or WM_DRAWITEM?
and what is the steps about this?
Greets,