Use ListView; add ViewColumn abstraction
Punting FormView since we really only need ListCtrl and using ListView makes the header column and window resizing work. The ViewColumn abstraction eliminates some copy/paste code blocks. HDN_ITEMCHANGED tracks user changes to column widths. Remove CTreeCtrl-related code. Also remove some unused code that was generating warnings. Signed-off-by: Kevin Wasserman <[email protected]> (cherry picked from commit 9bb69f8f328c763fb5f91e7a0198232eea0c2beb) https://github.com/krb5/krb5/commit/c7e847d1396f0699fc4ed760bd44e693412c7d8c Author: Kevin Wasserman <[email protected]> Committer: Tom Yu <[email protected]> Commit: c7e847d1396f0699fc4ed760bd44e693412c7d8c Branch: krb5-1.10 src/windows/leash/Leash.rc | 12 +- src/windows/leash/LeashView.cpp | 371 +++++++++++---------------------------- src/windows/leash/LeashView.h | 32 +++- src/windows/leash/StdAfx.h | 1 + 4 files changed, 139 insertions(+), 277 deletions(-) _______________________________________________ kfwdev mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/kfwdev
