Home > Software engineering >  Help: VC2010 MFC EDIT CONTROL data edited
Help: VC2010 MFC EDIT CONTROL data edited

Time:10-08

I put a text file to import one million rows of data in the edit box, found that can only be deleted, can't input, input the data at the end of the edit box (input), and then drag the scroll bar, will become very card, normal data quantity is little, big will appear this kind of circumstance, please!

CodePudding user response:

Edit controls can not Edit too much data, the text not more than 1 m,

The solution:
1) replace other text edit control,
2) use the Edit controls, every time read only part of the data editor, is using the method of divide and conquer,

CodePudding user response:

Try using richedit

CodePudding user response:

//otherwise only 0 XFFFFF=1048575 bytes can be show!
GetEditCtrl (.) SetLimitText (0 x00400000);

CodePudding user response:

The
reference 3 floor schlafenhamster response:
//otherwise only 0 XFFFFF=1048575 bytes can be show!
GetEditCtrl (.) SetLimitText (0 x00400000);
thank you! Can enter now, but pull the scroll bar will card, after the input is to refresh the slowly

CodePudding user response:

To switch to the ListBox control

CodePudding user response:

Don't show all of the data, a block, similar to the previous page, the function of the next page

CodePudding user response:

Pull the scroll bar when
LockWindowUpdate ()
After
UnlockWindowupdate ()
  • Related