| |
|
|
| GetControlParas determined, whether and where one Click on one Item by linker Mouse button, right Mouse button or linkem semidetached-Click stattgefunden has.
P:B1 is a Zeiger on a 320 byte grossen Speicherbereich. this must before LINK:[declare]iert, and LINK:[DIM]ensioniert his.
If one Click stattgefunden has then becomes the memory P:B1 with Values filled, with them very slight Own Controls (z.B. Edits or Comboboxen etc.) on passender place in the list view created go can. an manuelle and variablere method, circa new Itemtexte type, similar LINK:[EnableEdits]().
is the Return Value 1, 2 or 3 then becomes P:B1 with subesquent Values filled (everything LongInts except the String):
0 | lever the List view Controls, in the the Click stattfand | 4 | index the column (nullbasierend), in the the Click stattfand | 8 | index the row (nullbasierend), in the the Click stattfand | 12 | X position (Pixel) - inside the List view dimensions - the angeklickten Items | 16 | Y position (Pixel) - inside the List view dimensions - the angeklickten Items | 20 | wide the angeklickten Items (Pixel) | 24 | Höhe the angeklickten Items (Pixel) | 28 | Font lever of Listviews | 32 | Textausrichtung inside the angeklickten slot (0=links / 1=rechts / 2=zentriert) | 36-63 | yet unbenutzt | 64 | String (no Zeiger!) with the Itemtext (maximum 256 Bytes, abschliessend with Nullbyte) |
so can tappt im dunkeln now on passender place in the list view-Control Edits or other Controls create, z.B. Edits, The only numbers take in. or defined Split Lock, The not edited go can etc. or integrally just detect, where exactly the Click stattfand. One View source lying the List view-pkg with. around the Parameter one designed Items to obtain (circa z.B. whom EnableEdits()-TAB-effect nachzubilden) can tappt im dunkeln LINK:[GetOwnControlParas]() using. List view.Dll needed.
|
|
|
| |
|
|