| |
|
|
| Hello Frank, can it his, that GetAllSelected only on by hand selektierte Lines anspricht? If I with MarkIfChecked certain lines selektiere, I get no data into area. Apropos MarkIfChecked ... rather would SelectIfChecked and CheckIfSelected..., there then a homogeneous terminology is used. Greeting Jörg |
|
|
| |
|
|
|
| Hi,
> can it his, that GetAllSelected only on by hand > selektierte Lines anspricht? > If I with MarkIfChecked certain lines selektiere, > I get no data into area.
Wow, what your always austestet... the Have I yourself - faith I - never tested.
in the Grunde use I Yes only a Message, circa Lines To selektieren. Why the List view there no Markierungen reports, though tappt im dunkeln Yes visible are, is me schleierhaft. Probier still times the Message: SendMessage(listview&,4138,-1,0), after You MarkIfChecked() applied have.
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank, two Listviews one make, if the day long is... here time an example for. Perhaps falls you Yes what to a...
$I LISTVIEW_FUNKTIONEN.INC Cls Declare LV&,dll$,lvdll&,LVbereich#,Liste&,Text$,anzahl& dll$=Listview.dll lvdll&=UseDLL(dll$) LV&=CreateListview(%hwnd,%hinstance,0,$FFFFFF,$FFFFFF,$25) WhileLoop 0,2 Text$=Spalte + Str$(&Loop) InsertColumn LV&,Text$,80,0 Wend AutoSortListview LV&,1,1,1
ShowListView(LV&,3,15,400,262)
SetItem LV&,Neues_Item 1,Neues_Item 2,Neues_Item 3 SetItem LV&,Neues_Item 1,Neues_Item 2,Neues_Item 3 SetItem LV&,Neues_Item 1,Neues_Item 2,Neues_Item 3
InitMessages(%hwnd) SelectLine(LV&,0,0) SelectLine(LV&,2,0) WaitInputwenn now a row klicked becomes GEHTS SendMessage(LV&,4138,-1,0) the was your recommendation - bring but nothing. which Message is the really anzahl&=GetNeededMemory(LV&,0) Dim LVbereich#,anzahl& print GetAllSelected(LVbereich#,Addr(Liste&))is already 0 though Lines
selektiert are print Mempos(LVbereich#,0,Chr$(0)) Text$=String$(LVbereich#,0) SetItem LV&,Text$ While 1 WaitInput Case %key=27:break Wend
EraseListview(LV&) Listviewstrukturen Remove DestroyWindow(LV&) Profan commands, circa Fensterobjekte To destroy CloseMessages(%hwnd) Subclassing the Parentfensters Remove FreeDLL lvdll& Dispose LVbereich#
Greeting Jörg |
|
|
| |
|
|
|
| Hi,
GetAllSelected() calls data ex, The inside the Subclassings assembled go. Prerequisite this are Events, How Mausklicks etc. circa not the whole concept umzukrempeln have I for SelectLine() one new Flag introduced (Flag 8), that you best at last SelectLine() setting, before GetAllSelected() aufrufst:
SelectLine(LV&,0,0) SelectLine(LV&,1,0) SelectLine(LV&,2,8)
GetAllSelected(LVbereich#,Addr(Liste&))
now go any selectierten Lines found.
If you me by EMail kontaktest, mail I you gladly the new Betaversion rüber.
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank, functions the because too with MarkIfChecked? the find I namely so class, that with einenm Slip any Markiert go can. Greeting Jörg |
|
|
| |
|
|
|
| Hi,
Have you The Beta zugeschickt, sodas dus yourself testing can.
Greeting, Frank |
|
|
| |
|
|