|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Andrew Banks
|
Jan 23, 2007 - 7:13 PM
|
I am performing a sorting algorithm on a grid of which you don’t provide or supply overrides.
I note in your code of sorting, you do pointer swapping, but all that code and data is protected.
How can I swap cells using pointers only.
GridCellGet gives me the pointer, but I dont see anything to stuff this pointer into a cell. GridCellSet uses *p and so it copies the entire memory, I can’t use that.
Better yet, do you have an override so I can provide my own compare per 2 entries that you use when the column sort is clicked?
|
|
Andrew Banks
|
Jan 23, 2007 - 7:30 PM
|
Re:CExtGridWnd Cell Pointer Swap, Never mind, I think I see how to do it, sorry.
|
|