Click here to Skip to main content
15,921,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC custom control using 100% CPU Pin
Mark Salsbery17-Jul-07 14:24
Mark Salsbery17-Jul-07 14:24 
GeneralRe: MFC custom control using 100% CPU Pin
kalden17-Jul-07 14:34
kalden17-Jul-07 14:34 
AnswerRe: MFC custom control using 100% CPU Pin
Naveen17-Jul-07 14:32
Naveen17-Jul-07 14:32 
GeneralRe: MFC custom control using 100% CPU Pin
kalden17-Jul-07 14:40
kalden17-Jul-07 14:40 
GeneralRe: MFC custom control using 100% CPU Pin
Naveen17-Jul-07 14:45
Naveen17-Jul-07 14:45 
GeneralRe: MFC custom control using 100% CPU Pin
kalden17-Jul-07 14:47
kalden17-Jul-07 14:47 
GeneralRe: MFC custom control using 100% CPU Pin
Naveen17-Jul-07 14:49
Naveen17-Jul-07 14:49 
QuestionHow to Implement a Virtual Grid [modified] Pin
Stuck At Zero17-Jul-07 9:37
Stuck At Zero17-Jul-07 9:37 
I am a novice programmer and have been trying to implement a virtual grid control for a tool I am building. The source files I am dealing with are very large binary files and I was told that I need to turn on the virtual mode of the CGridCtrl due to the size of the source files. I was also told that I probably need to use what is called a callback function or OnNotify.

I do have a non-virtual grid control up and running and I am already parsing and displaying data via a worker thread up to a finite number of columns and rows. The moment I turn on virtual mode, the box where my grid should be immediately pops up shows absolutely no cells. It's as if the source file was never even parsed.

I do understand that a virtual grid does not have actual cells defined or something to this effect. This is what I am observing now. I am completely clueless as to how things are done differently when it comes to actually adding data to a virtual cell.

If I must use OnNotify or a callback function, I have been struggling on trying to find useful information on either of these. I do not know exactly what they do or how to use them.

If this helps, I am using VS.NET 2003. Any help would be greatly appreciated.



AnswerRe: How to Implement a Virtual Grid Pin
led mike17-Jul-07 10:44
led mike17-Jul-07 10:44 
GeneralRe: How to Implement a Virtual Grid Pin
Stuck At Zero17-Jul-07 11:14
Stuck At Zero17-Jul-07 11:14 
GeneralRe: How to Implement a Virtual Grid Pin
led mike17-Jul-07 11:23
led mike17-Jul-07 11:23 
GeneralRe: How to Implement a Virtual Grid Pin
Stuck At Zero17-Jul-07 11:40
Stuck At Zero17-Jul-07 11:40 
QuestionRe: How to Implement a Virtual Grid Pin
Stuck At Zero18-Jul-07 4:12
Stuck At Zero18-Jul-07 4:12 
AnswerRe: How to Implement a Virtual Grid Pin
led mike18-Jul-07 6:29
led mike18-Jul-07 6:29 
GeneralRe: How to Implement a Virtual Grid Pin
Stuck At Zero18-Jul-07 6:48
Stuck At Zero18-Jul-07 6:48 
GeneralRe: How to Implement a Virtual Grid Pin
led mike18-Jul-07 7:14
led mike18-Jul-07 7:14 
GeneralRe: How to Implement a Virtual Grid Pin
Stuck At Zero18-Jul-07 7:36
Stuck At Zero18-Jul-07 7:36 
GeneralRe: How to Implement a Virtual Grid Pin
led mike18-Jul-07 8:38
led mike18-Jul-07 8:38 
GeneralRe: How to Implement a Virtual Grid Pin
Stuck At Zero18-Jul-07 9:02
Stuck At Zero18-Jul-07 9:02 
GeneralRe: How to Implement a Virtual Grid Pin
led mike18-Jul-07 9:50
led mike18-Jul-07 9:50 
GeneralRe: How to Implement a Virtual Grid Pin
David Crow10-Aug-07 10:14
David Crow10-Aug-07 10:14 
Questionhow to keep white spaces when input from text file? Pin
andyspartyshop17-Jul-07 9:29
andyspartyshop17-Jul-07 9:29 
AnswerRe: how to keep white spaces when input from text file? Pin
Nelek17-Jul-07 19:45
protectorNelek17-Jul-07 19:45 
GeneralRe: how to keep white spaces when input from text file? Pin
andyspartyshop20-Jul-07 6:36
andyspartyshop20-Jul-07 6:36 
GeneralRe: how to keep white spaces when input from text file? Pin
Nelek28-Jul-07 4:29
protectorNelek28-Jul-07 4:29 

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.