Programming/C Win32 MFC
CEdit 길이 제한
구차니
2017. 10. 26. 14:44
당연(?) 하겠지만 CEdit에 넣을수 있는 글씨는 제한이 있다.
풀어는 줄 수 있는데.. 적당히 풀어야 메모리 적당히 먹겠...지?
[링크 : http://blog.naver.com/joon2457/220628611105]
CEdit::SetLimitText void SetLimitText( UINT nMax ); Parameters nMax The new text limit, in bytes. |
[링크 : https://msdn.microsoft.com/en-us/library/aa279321(v=vs.60).aspx]
CEdit::LimitText void LimitText( int nChars = 0 ); Parameters nChars Specifies the length (in bytes) of the text that the user can enter. If this parameter is 0, the text length is set to UINT_MAX bytes. This is the default behavior. |
[링크 : https://msdn.microsoft.com/en-us/library/aa279307(v=vs.60).aspx]