Download Horizon :: Staff Members :: TheTechGame.com :: XboxMB YouTube


Old 02-06-2012   #1 (permalink)
Regular Member
brettv's Avatar
Join Date: Oct 2010
Location: Great Britain
Posts: 615
Thanks: 230
Default Listview:/

How would I go about making my listview:

Look like this one:


Thanks.
brettv is offline
Reply With Quote


Old 02-06-2012   #2 (permalink)
Regular Member
universal's Avatar
Join Date: Feb 2011
Location: Nottingham, UK
Posts: 1,256
Thanks: 249
Default Re: Listview:/

Quote:
Originally Posted by Wesley View Post


That button on the left

I think he meant in VB net,

Err i think if you import DoNetBar and do the list view and then select win7 might work
__________________
universal is offline
Reply With Quote
The following user thanked this post: RZRClanLeader


Old 02-06-2012   #3 (permalink)
Wesley's Avatar
Thirdary.. Lol
Join Date: Oct 2010
Location: New Orleans
Posts: 5,597
Thanks: 2,771
Default Re: Listview:/

Quote:
Originally Posted by universal View Post
I think he meant in VB net,

Err i think if you import DoNetBar and do the list view and then select win7 might work
Yeah, my bad did not read the section it was in.
__________________

DiamondStaffHorizonRulesGuide to XboxMB


Good things come in good time. - Wiz Khalifa
Wesley is offline Send a message via AIM to Wesley Send a message via Skype™ to Wesley
Reply With Quote
The following user thanked this post: RZRClanLeader


Old 02-06-2012   #4 (permalink)
Regular Member
brettv's Avatar
Join Date: Oct 2010
Location: Great Britain
Posts: 615
Thanks: 230
Default Re: Listview:/

Quote:
Originally Posted by universal View Post
I think he meant in VB net,

Err i think if you import DoNetBar and do the list view and then select win7 might work
I don't have DotNetBar, could you PM me with aq link? Thanks alot.
brettv is offline
Reply With Quote


Old 02-06-2012   #5 (permalink)
Regular Member
Banksy's Avatar
Join Date: Oct 2010
Location: Ohio
Posts: 465
Thanks: 136
Default Re: Listview:/

Quote:
Originally Posted by brettv View Post
I don't have DotNetBar, could you PM me with aq link? Thanks alot.
I remember when I was diamond a while back there was a link in there for it. Otherwise, you could just go to any warez site and find it.
__________________


Epic Sig made by my friend at DreamFX Josh
Banksy is offline Send a message via AIM to Banksy
Reply With Quote




Old 02-06-2012   #6 (permalink)
austin12456's Avatar
Join Date: Jul 2010
Posts: 1,263
Thanks: 1,166
Default Re: Listview:/

you'll have to convert this to VB.

Code:
[DllImport("uxtheme.dll")]
public static extern int SetWindowTheme(
    [In] IntPtr hwnd, 
    [In, MarshalAs(UnmanagedType.LPWStr)] string pszSubAppName, 
    [In, MarshalAs(UnmanagedType.LPWStr)] string pszSubIdList
    );

// in form constructor 
SetWindowTheme(listView1.Handle, "explorer", null);
__________________
austin12456 is offline
Reply With Quote
The following users thanked this post: brettv, Jeremy Q, RZRClanLeader


Old 02-06-2012   #7 (permalink)
CLK
CLK's Avatar
Join Date: Sep 2010
Location: Spokane, WA
Posts: 1,413
Thanks: 1,222
Default Re: Listview:/

You could also use this as an extension and then for any control that has an explorer-style view call object.SetExplorerTheme();

e.g.:

Code:
TreeView tv = new TreeView();
tv.SetExplorerTheme();
Code:
[DllImport("uxtheme.dll", ExactSpelling = true, CharSet = CharSet.Unicode)]
        private static extern int SetWindowTheme(IntPtr hwnd, string pszSubAppName, string pszSubIdList);

        public static void SetExplorerTheme(this Control c)
        {
            SetWindowTheme(c.Handle, "Explorer", null);
        }
__________________
CLK is offline
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:34 AM.


 

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
COPYRIGHT (c) 2010 - 2012 - XboxMB - DESIGN BY:
EDENWEBS.COM