简体   繁体   中英

scroll tip in list control

In Windows 7, the explorer shows a scroll tip in detailed view like this: alt text http://i.msdn.microsoft.com/Dd378445.scrolltip%28en-us,VS.85%29.jpg

This image is taken from this MSDN page, but there's no information there on how to activate this for a plain list control.

I'd like to get my list controls to do the same, but I can't figure out how to do this. There's the LVN_BEGINSCROLL and the LVN_ENDSCROLL notification message, but no LVN_SCROLL message which is sent while scrolling so I could implement my own scroll tip and updating it while scrolling.

I haven't found any window styles or settings for the list control to activate this feature either.

But since Windows 7 can do this, it must be possible somehow. Anyone got an idea how I could implement/activate this feature?

You could probably subclass the listview and catch WM_VSCROLL

A somewhat related article in MSJ implemented "scroll tips" and deferred scrolling

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM