|Hi all, I've stumbled onto a problem I can't find a solution to.
I have a custom data grid that has a auto complete feature. This feature needs to look at the data for the current document (this is not a sql type grid.) Since the program is a MDI interface, i have a set of variables that serve as the common point for any member that needs data about the current document.
The problem i have run into is that I need to reload the variables that are pointing to the common point variables when the current document changes, rather than just changing the common document pointers.
If this isn't clear:
Display-------->Selected document---------------->document collection
I want to make the display look at the selected document address, rather than the data in the document collection.
I've read the marshalling info, but since this is an auto-complete that is updated with info, it appears that copying to unmanaged memory will not solve the issue.
Anyone have any ideas short of creating a delegate function?