 |

08-31-2002, 09:20 AM
|
 |
Algorithms 'R' Us
Forum Leader * Guru *
|
|
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
|
|
Dr Memory's "CopyListview" Demo
|
This little ripper copies out-of-process ListView data...
Uses cross-process data "pipe" - works on NT/2000 and Win98 platforms (probably any platform! if not let me know!)
Instructions for driving the demo are in CopyListView.frm
Updated the demo (comments only) - see next post
Dr Memory 
|
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!
At first, I was iridescent. Then, I became transparent. Finally, I was absent.
Last edited by MathImagics; 08-31-2002 at 11:34 AM.
|

08-31-2002, 05:11 PM
|
 |
Algorithms 'R' Us
Forum Leader * Guru *
|
|
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
|
|
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!
At first, I was iridescent. Then, I became transparent. Finally, I was absent.
|

02-10-2004, 12:55 PM
|
 |
Algorithms 'R' Us
Forum Leader * Guru *
|
|
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
|
|
ListView Copy - The Full Monty
First of all, thanks to everybody who has sent mail and/or PM's commenting favourably on this demo. Much appreciated!
Many have asked about copying the ListView/TreeView/ToolBar image list Icons, and some I know have been attacking that problem, as I myself have several times over the past few years (and given up on each occasion).
You will be interested to learn, perhaps, that I have developed a very clean solution to this problem.
But it is not possible with window messages and simple cross-process data marshalling, it requires some more high-powered tools.
I'll be publishing details of the solution, which uses 3rd-party tools (my own as it happens) but is written entirely in conventional VB6, on my website in the near future, but you might like to look at these snapshots I took of the first working full ListView copy in action. It not only copies the icons, it can substitute different ones, right into a VB ListView in the target, as the picture shows.
Not evident in these pictures is whether the ImageList spy program has copied the large icons as well - rest assured it has!
I think it's worth noting that this is still a 100% VB6 solution - the tools used here are themselves written entirely in VB6.
Cheers
Dr Memory 
|
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!
At first, I was iridescent. Then, I became transparent. Finally, I was absent.
|

11-10-2010, 09:10 PM
|
 |
Algorithms 'R' Us
Forum Leader * Guru *
|
|
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
|
|
|
Technical Update:
I regularly get queries from people who find that they can't get the text from listview's in particular applications. All other information is obtained correctly, including item counts and column header text, etc, but individual item text entries appear to be null.
Many commercial applications use a technique called "owner-draw". The item text is not stored in the control itself but drawn directly into the window by the application itself. This is most probably an intentional security measure, and it is certainly effective. There is no way to automatically extract the listview text in these cases.
|
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!
At first, I was iridescent. Then, I became transparent. Finally, I was absent.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|