FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tlistview views
Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM

Tlistview views

Posted: Tue Feb 21, 2006 10:49 AM

Hi,

How do I change listview between big and small icons?

Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM

Listview list solved

Posted: Wed Feb 22, 2006 04: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

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Tlistview views

Posted: Wed Feb 22, 2006 07:27 AM

Alex,

Thanks for sharing that.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM

Listview

Posted: Wed Feb 22, 2006 09:14 AM

You need these defines

define LVS_ICON 0

define LVS_SMALLICON 2

define LVS_LIST 3

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Tlistview views

Posted: Tue Jun 16, 2015 09: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 March-April 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

Continue the discussion