Today I saw this function of My friend Mastintin
here : http://forums.fivetechsupport.com/viewtopic.php?f=6&t=29805&hilit=gdibmp#p168761
the function create the iconl of a image
and I want ask to You if it is possible create or save into a listview control the thumbnail of a file
for a sample if the file is a image it could create a icon of preview of image
for a sample :
the first is a icon of excel
the second is the preview of second file (image)

Now fopr save the image of the file into listview I made:
nImage := Icon_Read(cFile)
nImage := max(0,ILADDICON( oImageList:hImageList, nImage ) )
oItem = TListViewItem():New( oList )
oItem:cText = cFile
oItem:nImage = nImage
oItem:Create()
but I save only the icon of the file
I wish insert this possibilty to make the preview of the image file and the user can see the image immediately
here : http://forums.fivetechsupport.com/viewtopic.php?f=6&t=29805&hilit=gdibmp#p168761
the function create the iconl of a image
and I want ask to You if it is possible create or save into a listview control the thumbnail of a file
for a sample if the file is a image it could create a icon of preview of image
for a sample :
the first is a icon of excel
the second is the preview of second file (image)

Now fopr save the image of the file into listview I made:
nImage := Icon_Read(cFile)
nImage := max(0,ILADDICON( oImageList:hImageList, nImage ) )
oItem = TListViewItem():New( oList )
oItem:cText = cFile
oItem:nImage = nImage
oItem:Create()
but I save only the icon of the file
I wish insert this possibilty to make the preview of the image file and the user can see the image immediately
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
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