DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Explorer-Style List View?  (Read 6,253 times)

wfunction

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
Explorer-Style List View?
« on: September 09, 2010, 02:47 AM »
Hi!

I've just downloaded the software and I've loved it so far.  :)  I'd like to give a little suggestion regarding the list view, and that is to make it an Explorer-style list view that is in Windows 7 -- the type that highlights in light blue, and selects in a little darker blue. The code for it is very simple; it's a one-line call to this function:
<code>
SetWindowTheme(hWndListView, "Explorer", NULL);
</code>
This would make the integration tighter with Windows and make the program even more visually appealing. :)

Thanks for the great program!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Explorer-Style List View?
« Reply #1 on: September 09, 2010, 03:04 AM »
welcome to the site wfunction  :Thmbsup:
can you elaborate a little for me since i don't use windows 7 -- maybe attach a screenshot showing the light blue highlight and the dark blue selection, so i know what you have in mind?

wfunction

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
Re: Explorer-Style List View?
« Reply #2 on: September 10, 2010, 12:05 AM »
Thanks!  :)
Here's a couple of pictures, one showing the "classic" List View control (with the solid dark blue highlighting), and one showing the Windows 7 style (the light blue highlighting, plus the even lighter hover highlighting). It's really not that much of a difference, it would just look more like Windows Explorer.  :)
(I'm not quite sure how to show attached pictures yet, but they should be in the attachments; please let me know if they're not attached correctly.)
[PreWin7.png]
[Win7.png]
And thanks for the quick reply!!

Original address: https://www.donationcoder.com/forum/index.php?topic=23933.0