English
Forum

photos in a list view present

 
- Page 1 -



Fred
Matthiesen
How can I Own photos/Images in a list view present.
Z.B. a Address with First name,name,photo,..... or photo,First name,name,..... The Order is alike.
 
SUSE 10.3 / Listview.dll
11/06/06  
 



 
- Page 2 -



Fred
Matthiesen
is everything Black. here the geänderte code:
CompileMarkSeparation
Declare lvdll&,listview&,text$,x&,y&,z&,ilist&,bild1&,bild2&
 $I Listview_Funktionen.inc
lvdll&=usedll("Listview.dll")
Cls @Rgb(23,23,23)
Def ImageList_Create(5) !"comctl32.dll","ImageList_Create"
Def ImageList_Destroy(1) !"comctl32.dll","ImageList_Destroy"
Def ImageList_Add(3) !"comctl32.dll","ImageList_Add"
Usefont "MS Sans Serif",10,0,0,0,0
SetDialogFont 1
InitMessages(%hwnd)
ilist&=ImageList_Create(80,80,33,0,0)
listview&=CreateListView(%hwnd,%hinstance,0,@Rgb(0,0,0),-1,$3)
bild1&=Create("hPic",-1,"C:	est	est3.bmp")
ImageList_Add(ilist&,bild1&,0)
bild2&=Create("hPic",-1,"C:TestTest3.bmp")
ImageList_Add(ilist&,bild2&,0)
SetImageList(listview&,ilist&)
InsertColumn listview&,"Name",200,0
InsertColumn listview&,"Index",160,0
SetItem listview&,"Test","Test"
SetItem listview&,"Test","Test"
SetItem listview&,"Test","Test"
SetIcon(listview&,0,0)
SetIcon(listview&,1,1)
SetIcon(listview&,2,2)
SetIconColumn(1)
SetIcon(listview&,0,0)
SetIcon(listview&,1,0)
SetIcon(listview&,2,2)
ShowListView(listview&,8,8,480,320)

While 1

    waitinput
    Case %key=2:BREAK

EndWhile

ImageList_Destroy(ilist&)
DestroyWindow(%hwnd)
freedll lvdll&
End
 
SUSE 10.3 / Listview.dll
11/07/06  
 




Fred
Matthiesen
here's the geänderte Purebasiccode:
CompileMarkSeparation
 
SUSE 10.3 / Listview.dll
11/07/06  
 



@Frank: the whole IE-Dateianzeigegeschichtchen is still one LV or?
 
11/07/06  
 



Hello on The Experten
before I the wheel new erfinde - there somewhere into depths the code-box a small code, the one with within one Program of vorhandenen Images Tumbnails create can ? (hopefully have I the Daumennagel correctly. written ) - The question standing in the Context of these Topic (Images in list view present) means not offtopic
 
11/07/06  
 




Frank
Abbing
@iF: i think. The windows-background is indeed one.
but there's several types of Listviews. The List view.dll supported The so-called Report-Listviews.

@Fred: its Black, because You colour RGB(0,0,0) = 0 staid have. set in my oberen code simply supra somewhere mere:

Def GetSysColor(1) !USER32,GetSysColor

[quote:e52788ee24]The Image_list-command knows it not. though The Help to List view.dll neither.it shine means Profan-command To his. but too in this Help be I do not fündig become. Anscheinen are the Sendmassage-command. I suspect the time. means: in which Help stand these command? Diesen commands have I in the List view.dll-Help found: CreateImageList(F,B). But this is too everything. [/quote:e52788ee24]
Yes, CreateImageList() heard to List view.dll. for the grossen Images can you the but not use.
The others are APIs, The supra in the Source definiert are:
CompileMarkSeparation
Def ImageList_Create(5) !"comctl32.dll","ImageList_Create"
Def ImageList_Destroy(1) !"comctl32.dll","ImageList_Destroy"
Def ImageList_Add(3) !"comctl32.dll","ImageList_Add"re>

Accurate said, there are three functions from the ComCtl32.dll the Systems.
How The but in PB definiert and called go must knows I do not. is anyway integrally normal API.
 
11/07/06  
 




Frank
Abbing
Know I do not, Horst.
 
11/07/06  
 



@Horst: Thumbnail[s]
 
11/07/06  
 



[quote:1e6dde129d]@Horst: Thumbnail[s] [/quote:1e6dde129d]
@iF
...but I was solid dran, gelle ?
 
11/07/06  
 



[quote:2dd053f59b=Horst horn][quote:2dd053f59b]@Horst: Thumbnail[s] [/quote:2dd053f59b]
@iF
...but I was solid dran, gelle ? [/quote:2dd053f59b]
Saudicht!
 
11/07/06  
 




Jörg
Sellmeyer
[quote:aad8924fec=Horst horn]Hello on The Experten
before I the wheel new erfinde - there somewhere into depths the code-box a small code, the one with within one Program of vorhandenen Images Tumbnails create can ? (hopefully have I the Daumennagel correctly. written ) - The question standing in the Context of these Topic (Images in list view present) means not offtopic [/quote:aad8924fec]
Hello Horst,
with the new Create(hSizedPic,.) is the quick Done.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/07/06  
 




Fred
Matthiesen
cool, now goes it in Profan9. The Images can max. 80x80 Pixel having. in this dissolution is a photo too yet well To discern.
have as Text simply indicated and the slot on 80 minimizes. super, now have I a slot only with photos.
now must I the whole only still in Purebasic running having then is the target access.
Perhaps sees Heinz the Yes and could me moreover help.
thanks already time beforehand.
 
SUSE 10.3 / Listview.dll
11/08/06  
 



I mean Heinz and Thomas are here our PBer, but I faith the whole in PB hinzubiegen is not at all heavy - especially since still any Apis likewise available stand?!

I faith too - time now but under us xprofaner - in PB must one somehow comic with the Controlhandles bypass. we Save Yes (as itself heard ) The Handles of Controls in Longs - I faith this is in PB differently.
 
11/08/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.793 Views

Untitledvor 0 min.
Alibre01/25/24
Uwe Lang04/13/20
AndreasS12/26/18
Member 154727709/23/18
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie