| |
|
|
- Page 1 - |
|
Frank Abbing | Hi,
here a first Trial for wide Betatest in things Drag&Drop. Please testing extensively!
your can things from the Explorer or other external Programs into List view wander. These Entries wander then always on the end the list. the functions too inverse, means to that Explorer there, if your entry one gültiger way is.
plenty interessanter is, Entries verschiedener Listviews among themselves To move. thereby wander The gedroppten Entries on passender place into new List view. even Verschiebungen within one Listviews are possible, order manueller Sorting. and even Verschiebungen of many selektierten Einträgen gleichzeit are without Problems possible. Hierbei stay Icons and status the Check boxes even receive, sofern the target-List view these Features supported.
Please using these List view.dll not yet in euren Programs! Bislang counts D&D global for all Listviews, what itself but by a switch Change becomes. These Dll-Version is only for Betazwecke suitable...
Testberichte Please here post. plenty joke at wander... |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
| Hello Frank...
I suppose, the lying on it, that you there not InitCommonControlEx uses have - best Thanks ... |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
ByteAttack | it'll you Maybe forward To listen, the The function too under: windows NT 4.0 SP6a and Windows NT Server SP6a without Problems functions. |
|
|
| |
|
|
|
Frank Abbing | Very even . thanks! |
|
|
| |
|
|
|
Normann Strübli | Hello Frank,
functions too by me inspired (Win XP Home Sp2). though have I there yet a small suggestion concerning the Sorting:
I would find it very meaningfully if The gedroppten Lines in the Listbox not simply From left to right copies would, separate entprechend the Header The Items on The right slot wander.
because name remaining name and date remaining date -logical. All other items The not zugeordnet go can entrapments lane, because what bring it because otherwise something there and herzuschieben? (it be because one has two identische Controls)
hope You can there what make
|
|
|
| |
|
|
|
Normann Strübli | Ne Kleinigkeit yet: i'm not been successful a row on the end the List view To move there tappt im dunkeln always oberhalb the row where itself the Cursor befindet eingefügt becomes. Andersherum could one then well no row on whom beginning move Also would it naturally useful if the List view -ifs because longer is- automatically mitscrollt if one itself me the mouse on whom äußeren edge moving. - but the find I do not so important How with the the Sorting |
|
|
| |
|
|
|
Frank Abbing | Hi,
> functions too by me inspired (Win XP Home Sp2). > though have I there yet a small suggestion concerning the Sorting: > I would find it very meaningfully if The gedroppten Lines in the Listbox not simply > From left to right copies would, separate entprechend the Header The Items > on The right slot wander. > because name remaining name and date remaining date -logical. All other items The not > zugeordnet go can > entrapments lane, because what bring it because otherwise something there and herzuschieben? > (it be because one has two identische Controls) > hope You can there what make
Well, it bring Yes insofern something, the a List view, the ALLE data anbietet, only certain lines into Ziellistview gepackt go can... capability see I there enough. your Variant naturally fascinating and naturally have I above already consider. The hoisted would utterly imens, particularly The MOVE-Variante, with the The Quelleinträge deleted go must. and the then Yes not line by line, separate only within of/ one slot. To consider would here possible a Tauschvariante, with the the two Entries only vertauscht go...
> Ne Kleinigkeit yet: > i'm not been successful a row on the end the List view To move there > tappt im dunkeln always oberhalb the > row where itself the Cursor befindet eingefügt becomes. Andersherum could one then well > no row on whom > beginning move
you have it already said. either or. If you whom entry integrally ans end settle want, müsstest You even your Eintag on vorletzter place settle and then whom last entry again move...
> Also would it naturally useful if the List view -ifs because longer is- automatically > mitscrollt if one > itself me the mouse on whom äußeren edge moving. - but the find I do not so important > How with the the Sorting
the see I me at times. On each drop Schonmal thanks for Proposals! |
|
|
| |
|
|
|
Frank Abbing | Hi,
> Also would it naturally useful if the List view -ifs because longer is- automatically > mitscrollt if one > itself me the mouse on whom äußeren edge moving.
the shining not machbar To his. anyway see I momentarily moreover no Possibility.
> I would find it very meaningfully if The gedroppten Lines in the Listbox not simply > > From left to right copies would, separate entprechend the Header The Items > on The right slot wander. > > because name remaining name and date remaining date -logical. All other items The not > zugeordnet go can > entrapments lane, because what bring it because otherwise something there and herzuschieben?
the spaltenweise Drag&Drop is ready! How already angekündigt go the two Entries swapped. circa in this mode To gelangen, becomes the settle one einfachen ? Happen? genügen:
Flag 16 is a real Schmankerl! here reacted the Drag&Drop entire differently. it go no Lines hither and thither shoved, separate only single Itemtexte of/ one slot. Hierbei go the two affected Texts vertauscht. becomes the Text into ungültigen Randbereich one Listviews pulled, then becomes it deleted. circa in the Flag-16-mode Entries into other (Dll-erzeugtes) List view To move, must the Flag with both Listviews staid his.
I hope, the goes already something in your direction... |
|
|
| |
|
|
|
Frank Abbing | Hi,
> I would find it very meaningfully if The gedroppten Lines in the Listbox not simply > > From left to right copies would, separate entprechend the Header The Items > on The right slot wander. > > because name remaining name and date remaining date -logical. All other items The not > zugeordnet go can > entrapments lane, because what bring it because otherwise something there and herzuschieben?
I have another amendment-Flag introduced. so reacted the Drag&Drop How of you desired.
soon Gibts again some To testing...
here Schonmal the new statement from the guide:
[box:d36b47d9cd]EnableDragDrop(H,F)
allows in a list view Drag & Drop activities (or not). means the move of Items through the mouse.
H : Long - lever one with CreateListview() erstellten List view Controls F : Long - Flag
an the mächtigsten functions list view.dll! with EnableDragDrop() can Verschiebungen of Texten by mouse eingeschaltet (or again shorted) go, and of course for each single List view. H is the List view, the D&D zugeschaltet (or. weggeschaltet) go should. whether and like a List view Drag&Drop support should, certainly the Flag F:
0 = H should no Drag&Drop support 1 = Drag & Drop for H on 2 = H supported only Drag&Drop in/of Listviews, The through list view.dll prepares get (no extern) 4 = H supported only Drag&Drop within itself yourself (Drag&Drop-Sorting) 8 = with Verschiebungen from H becomes The Quellzeile from the List view removes (Move) 16 = Subitem-mode. it go no Lines moved, separate single Itemtexte vertauscht 32 = only together with Flag 16. toggles in the Subitem-mode whom Move-mode on
any ? Happen? count pub, you can means for each List view different tuned go.
Notes: becomes one entry of a List view into other List view shoved, and both Controls get from the List view.dll created, then hike the new Textzeile oberhalb the row, on The it pulled watts. watts a external Control (z.B. windows-Explorer) into List view.dll-List view pulled, then hike the new row always on the end the list. with Flag 2 be I yet very unzufrieden, because windows here apparently Error Cancel one valid Drag&Drop Vorganges power. becomes with gesetztem Flag 2 nevertheless one Entry in a externes Control moved, can it occur, that the externe Program a OLE-Message outputs. Gedroppt becomes but nevertheless nothing. differently around changes itself at wander of a external Control to a Dll-List view the Mauscursor to a Cross-symbol. but here becomes ordnungsgemäss not gedroppt. Flag 16 is a real Schmankerl! here reacted the Drag&Drop entire differently. it go no Lines hither and thither shoved, separate only single Itemtexte of/ one slot. Hierbei go the two affected Texts vertauscht. becomes the Text into ungültigen Randbereich one Listviews pulled, then becomes it deleted. circa in the Flag-16-mode Entries into other (Dll-erzeugtes) List view To move, must the Flag with both Listviews staid his. becomes additional to that Flag 16 the Flag 32 staid, then go the two Texts not only vertauscht, separate the View source too really from the slot removes and the Zieltext additional into new slot eingefügt. the corresponds to naturally not the usual Abhängigkeits-Verhältniss of Split and Lines one Listviews, likes but in designed Programs thoroughly meaningfully his. in the mode 32 go evt. available Icons and Check boxes not mitverschoben, there itself these not zwangläufig only on a slot relating, separate on The entire row! avoid tappt im dunkeln these therefore in the 32it mode. becomes the Text in the 32it mode in a not valid area of Listviews moved, becomes The Drag&Drop action not implemented. is Flag 16 staid, cannot several selektierte Texts at the same time moved go. it'll in this drop only the entry under the Mauscursor moved. [/box:d36b47d9cd] |
|
|
| |
|
|
|
Normann Strübli | Hello Frank,
the sees Yes Real not so bad from! was certainly ne crowd work... (Have too yet none Error found)
though again a thing: (not hit!) > I have another amendment-Flag introduced. so reacted the Drag&Drop How of you desired. i'm me now not integrally sure whether You me there correctly. understood have. my suggestion was is not one single Item To move / To copy (what naturally too ne super thing is!) separate already The whole row. though ought to at Droppen only The Items properly into row eingefügt go The the equal Spaltenüberschrift correspond to from the tappt im dunkeln gedraggt get.
example: So I have there one List view with the Split: name | colour | Baujahr |Preis
from this ziehe I a Line in the following:
colour | name | Baujahr
now would it desirable if the Item the column name too in the new List view in the slot name alights. for the Price is no slot present, and so ought to too no new prepares go separate the Price falls hold lane.
does me sorrow if I there at last time a little bit unverständlich ausgedruckt have. I hope this is so too To realisiern. with Drag&Drop Have I otherwise unfortunately not yet plenty made. whether the means functions? -No? my response: ought to but. (Vorrausgesetzt the Motivationsniveau is yet high enough) Frank - You create the! |
|
|
| |
|
|
|
Frank Abbing | Hi,
> now would it desirable if the Item the column name too in the new List view > in the > slot name alights. for the Price is no slot present, and so ought to too > no > new prepares go separate the Price falls hold lane.
an manner intelligentes Drag&Drop? Well, one can it too exaggerate nice, that You attempt me so To to motivate, but is not sooner thing the Programmierers hereon To respect, the The different tables among themselves compatible are, as they kombinierbar his should? |
|
|
| |
|
|
|
| Hi,
> an manner intelligentes Drag&Drop? Well, one can it too exaggerate
Nööö wieso?
>...but is not sooner thing the Programmierers hereon To respect, the The different tables among themselves > compatible are, as they kombinierbar his should?
compatible = utterly identical? (ok, is exorbitant) In my actually Program *geheimhalt* there sozuzsagen a Hauptliste in the any informationen stand. now there further lists -or rather Listviews- into one The selected Entries copy can, though are missing in this lists some Split (wg. the Overview and because tappt im dunkeln there less interestingly are.) yet there a Button with the the whole working. - In this case worry I naturally self for the everything too there alights wos hingehört. as You you but decided have *freu* D&D To to assimilate saw I a chance the whole naturally komfortabler To style. you have means right in reference hereon the the Programmer self for To care has the everything there alights wos hingehört. though must one still of it go out the Split The whom equal names having too whom equal Content my. Insofern -How you say- intelligently are. some your others List view-functions are still too somewhere schlau.
my suggestion : If one as Programmer experienced can when where of what where gedroppt and is to the Insert self Done, sozusagen simply said by Message informed becomes, then could the still what go or? at least if one white the what gedroppt watts and of where, then could one The marked Lines the Quell-Listviews read and by hand into new insert. this is still certainly not To heavy To make -or?
And then another small Error the me noticed is: in your example Have I time whom Flag on 1 staid. Markiere I now several Lines and ziehe tappt im dunkeln in one the others Controls becomes only the first entry (the Content the first row) eingefügt, for but entprechend the amount on marked Lines twice.
Greeting Normann |
|
|
| |
|
|
|
Frank Abbing | Hi.
> Nööö wieso?
I must something sparsein bypass with my ? Happen?. around the whole List view-global make to, stand me 32 User-Bits available (GWL_USERDATA). of it have I for EnableEdits() already 8 reserved (of it already 6 verpulvert) and Enable DragDrop() using now already 6. here I had to, max. 16 Bits To reservieren. stay for future functions yet 8 Bits.
> compatible = utterly identical? (ok, is exorbitant) > In my actually Program *geheimhalt* > there sozuzsagen a Hauptliste in the > any informationen stand. > now there further lists -or rather > Listviews- into one The selected Entries > copy can, though > are missing in this lists some Split (wg. > the Overview and because tappt im dunkeln there less > interestingly are.) > yet there a Button with the the > whole working. - In this case worry I > naturally self for > the everything too there alights wos hingehört. > as You you but decided have *freu* > D&D To to assimilate saw I a chance the > whole naturally komfortabler To > style. you have means right in reference hereon > the the Programmer self for To care > has the everything there > alights wos hingehört. though must one > still of it go out the Split The whom > equal names having too > whom equal Content my. Insofern -How > you say- intelligently are. some your > others List view-functions > are still too somewhere schlau. > my suggestion : > If one as Programmer experienced can > when where of what where gedroppt and is one > the Insert self Done, > sozusagen simply said by Message > informed becomes, then could the still what > go or?
Yes.
> at least if one white the what gedroppt > watts and of where, then could one The marked > Lines the > Quell-Listviews read and by hand > into new insert. > this is still certainly not To heavy To > make -or?
I have so a Message too yet planned, ala GetControlParas(). only can I Yes not everything at the same time make
> And then another small Error the me > noticed is: > in your example Have I time whom Flag > on 1 staid. > Markiere I now several Lines and ziehe > tappt im dunkeln in one the others Controls becomes only > the first entry (the > Content the first row) eingefügt, for > but entprechend the amount on marked > Lines twice.
Ahhhrrrgg!!! the funktionierte already correctly.! Have well somewhere again a Error installed. there werd I tommorrow time to search must... |
|
|
| |
|
|