KJ
2010-02-20 09:40:04 UTC
Hi Friends!
I need your help to fix a problem, which I faced in my application. In
my application I have rich edit control, Whose limit I set to be say
2000 character. When I was typing the text its not taking a single
character also more then my limit. But if I copy text from some note
pad file and try to copy its copying more charater then my limit.
I used EM_LIMITTEXT to set the limit to my control, I also tried with
EM_EXLIMITTEXT and EM_SETTEXTLIMIT.
Due to this what problem I am getting is?.. In some Xp systems Its not
retriving the text from the contorl. Then I used the EM_GETTEXTEX and
retrived the text. And then if I tried to set this text again to a
simillar kind of control
whose limit is also same and it is also in the same dailog.
So...
Please some one give me a perfect solution for this problem I
will realy appriciate for this help.
I need your help to fix a problem, which I faced in my application. In
my application I have rich edit control, Whose limit I set to be say
2000 character. When I was typing the text its not taking a single
character also more then my limit. But if I copy text from some note
pad file and try to copy its copying more charater then my limit.
I used EM_LIMITTEXT to set the limit to my control, I also tried with
EM_EXLIMITTEXT and EM_SETTEXTLIMIT.
Due to this what problem I am getting is?.. In some Xp systems Its not
retriving the text from the contorl. Then I used the EM_GETTEXTEX and
retrived the text. And then if I tried to set this text again to a
simillar kind of control
whose limit is also same and it is also in the same dailog.
So...
Please some one give me a perfect solution for this problem I
will realy appriciate for this help.