Reproduce The Style of Explorer 'My Computer' Page

  • Thread starter Thread starter Jeff Gaines
  • Start date Start date
J

Jeff Gaines

Can anybody point me to any examples of reproducing the 'My Computer'
page in Explorer - it appears to be a ListView but has headings like
'Files Stored on This Computer', 'Hard Disk Drives' that span across
columns.

I am happy with using a ListView but cannot see how to get headers to
go across the columns.

Many thanks.
 
Hi Jeff,

For this issue, I will spend some time on it. I will reply to you ASAP.
Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi Jeff,

Sorry for letting you wait for so long.

After doing some internal consult, I was told that this behavior is only
supported in WinXP, and it is a new feature for ListView. We may send
LVM_ENABLEGROUPVIEW message to the listview to open enable the group view.
Then use LVM_INSERTGROUP to insert group into the listview.

For more information, please refer to the link below:
http://groups.google.com/groups?q=LVGROUP&hl=zh-CN&lr=&c2coff=1&selm=ju_Ha.9
4429%24cm4.1966855%40twister.tampabay.rr.com&rnum=1
================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi Jeff,

Sorry for letting you wait for so long.

After doing some internal consult, I was told that this behavior is
only supported in WinXP, and it is a new feature for ListView. We may
send LVM_ENABLEGROUPVIEW message to the listview to open enable the
group view. Then use LVM_INSERTGROUP to insert group into the
listview.

For more information, please refer to the link below:
http://groups.google.com/groups?q=LVGROUP&hl=zh-CN&lr=&c2coff=1&selm=j
u_Ha.9 4429%24cm4.1966855%40twister.tampabay.rr.com&rnum=1

Jeffrey

Many thanks, that is very useful and I even managed to convert it to C#
without breaking it :-)

Thank you for all your help over the past year, enjoy the break and
have a Happy New Year.
 
Hi Jeff,

Merry Christmas to you either!

I am glad what I found make sense to you. Additionally, this group header
function only works with COMCTL32 V6. Normally, we do not have COMCTL32 V6
installed on the machine. We have to use this version of COMCTL32 to get
the group view effect.

Again, hope you get a good holiday!!

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top