ListView Cursor changing & flickering

后端 未结 2 1299
野趣味
野趣味 2021-01-06 04:32

I\'m trying to change the cursor that appears on a standard ListView when the cursor appears over an item. However I am getting a flickering effect as the mouse is changed t

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-06 05:06

    Without having tried it, cursors are normally changed in response to WM_ SETCURSOR, so maybe you are in conflict with the default WM_ SETCURSOR handling of the ListView. I would try to create a new UserControl deriving from ListView and then trap WM_ SETCURSOR in WndProc and see if that helps.

提交回复
热议问题