Click here to Skip to main content
15,921,371 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Opening External Programs Pin
Mark Salsbery18-Aug-08 14:40
Mark Salsbery18-Aug-08 14:40 
QuestionManged pointer to local object Pin
LionAM16-Aug-08 22:39
LionAM16-Aug-08 22:39 
AnswerRe: Manged pointer to local object [modified] Pin
Mark Salsbery18-Aug-08 8:47
Mark Salsbery18-Aug-08 8:47 
GeneralRe: Manged pointer to local object Pin
LionAM19-Aug-08 4:35
LionAM19-Aug-08 4:35 
GeneralRe: Manged pointer to local object Pin
Mark Salsbery19-Aug-08 6:13
Mark Salsbery19-Aug-08 6:13 
QuestionBook for learning Graphics prgrming ... Pin
micro_prgmr13-Aug-08 21:11
micro_prgmr13-Aug-08 21:11 
QuestionLots of data Pin
ericksonbrian12-Aug-08 8:32
ericksonbrian12-Aug-08 8:32 
GeneralRe: Lots of data [modified] Pin
dybs13-Aug-08 17:28
dybs13-Aug-08 17:28 
We've come across a similar case (although not quite as large a scale...) We have 150 possible columns, and usually up to 2000 rows. We keep and array of integers indicating our "visible" columns, and provide the user with a dialog of checkboxes to show/hide columns. For the ListView, "hiding" simply means setting the column width to 0. Any time the set of visible columns changes, we reload all the data, but only for those visible columns.

Probably not the most elegant solution, but it seems to work well for us. Loading data for 5 columns is a heck of a lot faster than loading it for 150! Smile | :)

I'm curious what other solutions people have as well. Always open to better ideas!

[Edit]: After looking back at the code, we actually update our list view by calling list->Clear(), which removes all rows and columns, then re-add any columns we want to show, then fill all our rows. May not be the best way, but it works.

Dybs

modified on Saturday, August 16, 2008 11:39 PM

QuestionCombine WinForm and DirectDraw Pin
ArneKruger9-Aug-08 21:28
ArneKruger9-Aug-08 21:28 
Question.NET Flow Diagrams Pin
dybs8-Aug-08 15:31
dybs8-Aug-08 15:31 
QuestionCOM Exception when trying to create new com object Pin
Sara1237-Aug-08 0:11
Sara1237-Aug-08 0:11 
GeneralRe: COM Exception when trying to create new com object Pin
Perspx7-Aug-08 0:46
Perspx7-Aug-08 0:46 
QuestionAmcap SDK Pin
suefyzah6-Aug-08 21:21
suefyzah6-Aug-08 21:21 
AnswerRe: Amcap SDK Pin
Mark Salsbery7-Aug-08 7:41
Mark Salsbery7-Aug-08 7:41 
QuestionHow can I specify a different application icon based on different configuration Pin
travismonkey@gmail.com6-Aug-08 10:48
travismonkey@gmail.com6-Aug-08 10:48 
Question[Message Deleted] Pin
Behzad Seyfi5-Aug-08 20:29
Behzad Seyfi5-Aug-08 20:29 
AnswerRe: How can I use Canvas Control in C++/CLI? Pin
Mark Salsbery6-Aug-08 5:47
Mark Salsbery6-Aug-08 5:47 
GeneralRe: How can I use Canvas Control in C++/CLI? Pin
led mike6-Aug-08 6:07
led mike6-Aug-08 6:07 
GeneralRe: How can I use Canvas Control in C++/CLI? Pin
Mark Salsbery6-Aug-08 6:31
Mark Salsbery6-Aug-08 6:31 
GeneralRe: How can I use Canvas Control in C++/CLI? Pin
led mike6-Aug-08 7:07
led mike6-Aug-08 7:07 
QuestionManaged C++ Dll\System.EntryPointNotFoundException Pin
Jeffrey Walton5-Aug-08 9:54
Jeffrey Walton5-Aug-08 9:54 
AnswerRe: Managed C++ Dll\System.EntryPointNotFoundException Pin
Mark Salsbery5-Aug-08 10:56
Mark Salsbery5-Aug-08 10:56 
Questionhow to set MaximizedBounds? Pin
Kyon864-Aug-08 4:56
Kyon864-Aug-08 4:56 
AnswerRe: how to set MaximizedBounds? Pin
led mike4-Aug-08 9:58
led mike4-Aug-08 9:58 
QuestionLimited user account Pin
gayatri.neelema4-Aug-08 3:31
gayatri.neelema4-Aug-08 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.