Reputation:
Does a Windows API ListView supports this selection rectangle?
Upvotes: 1
Views: 256
Reputation: 612934
Update
I stand corrected. If the LVS_EX_DOUBLEBUFFER
is added to the extended list view style, then the control performs alpha blended marquee selection. The documentation says:
LVS_EX_DOUBLEBUFFER
Version 6.00 and later. Paints via double-buffering, which reduces flicker. This extended style also enables alpha-blended marquee selection on systems where it is supported.
Thanks to @andlabs for pointing this out.
Does a Windows API ListView supports this selection rectangle?
No. The image in the question comes from the private list view control, DirectUIHWND. This control is used in a variety of Microsoft software and is especially visible in Explorer. Third party programs don't have access to this control.
If you want functionality like this you will have to implement it yourself. The system list view control, SysListView32, has no such functionality.
Upvotes: 1