Tlistview views

Tlistview views

Postby AlexSchaft » Tue Feb 21, 2006 10:49 am

Hi,

How do I change listview between big and small icons?
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Listview list solved

Postby AlexSchaft » Wed Feb 22, 2006 4:47 am

Hi,

In case anybody wants to do it too:

MENUITEM "Big Icons" Action SetWindowLong( ::oLv:hWnd, -16, nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, LVS_ICON ) )
MENUITEM "Small Icons" Action SetWindowLong( ::oLv:hWnd, -16, nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, LVS_SMALLICON ) )
MENUITEM "List" Action SetWindowLong( ::oLv:hWnd, -16, nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, LVS_LIST ) )

As long as you have assigned image lists for big and small. I used the same one for both :) Windows resized the icons
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Postby James Bott » Wed Feb 22, 2006 7:27 am

Alex,

Thanks for sharing that.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Listview

Postby AlexSchaft » Wed Feb 22, 2006 9:14 am

You need these defines

#define LVS_ICON 0
#define LVS_SMALLICON 2
#define LVS_LIST 3
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: Tlistview views

Postby Silvio.Falconi » Tue Jun 16, 2015 9:13 am

Alex
how I can Know the caption of each item ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7063
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests