Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
In my application i am using CRichEdit control of MFC class.

After validating the rich edit control the scroll bar is not disappearing.

Can anyone help me out in this?
Posted

1 solution

Confirm whether AUTOHSCROLL or AUTOVSCROLL styles are true.
In such a case the scroll bar will appear automatically if you have text more than display area.
 
Share this answer
 
Comments
Member 8270690 27-Sep-11 4:48am    
AUTOHSCROLL and AUTOVSCROLL styles are true and its is working as expected ie. when we enter more text in the display area it appears automatically.
But the problem here is i have one clear button in which i added the code to set the text in rich edit control....
so whenever i press the clear button the contents in rich edit control is getting cleared...but the scroll is not disappearing....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900