Modern Windows style highlight marqee box?
Posted: 26 Dec 2009 18:20
How about add a modern Windows style highlight marqee box? It's easier to see selection area...


Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/

Code: Select all
Version 6.00. Paints via double-buffering, which reduces flicker. This extended style also enables alpha-blended marquee selection on systems where it is supported.Thanks, this looks like it's a thing native and restricted to the ListView. Now I don't use that ListView (everything in XY in owner-drawn), so I will have to make the thing myself. One day... and then you'll also be able to configure the color of it.zer0 wrote:Having done some digging, I have discovered that ListView API has 'Extended List-View Styles'. One of those styles is LVS_EX_DOUBLEBUFFER, for which the description reads:More information is in this MSDN resource: http://msdn.microsoft.com/en-us/library ... S.85).aspx Any use?Code: Select all
Version 6.00. Paints via double-buffering, which reduces flicker. This extended style also enables alpha-blended marquee selection on systems where it is supported.
Yes, it does appear to be OS-native, but should that be a deterrent? It being native sounds like even more of a reason to use it. Presence of 'translucent selection rectangle' (its "proper" nameadmin wrote:Thanks, this looks like it's a thing native and restricted to the ListView. Now I don't use that ListView (everything in XY in owner-drawn), so I will have to make the thing myself. One day... and then you'll also be able to configure the color of it.
Thanks, but he most probably uses the ListView, so that won't help me.carmenm wrote:Elplaylist is a plugin for foobar2000 that does the native selection feature of windows. Maybe you can ask how he does that. It s the user ssenna on the foobar2000 forum.