Categories
How to set line spacing in richtextbox in visual studio c++?
Good day! The following question arose .. how can I set line spacing in richtextbox, I write in c ++, visual studio 2012.
Answer the question
In order to leave comments, you need to log in
CHARFORMAT fmt; fmt.cbSize=sizeof(fmt); fmt.dwMask= CFM_OFFSET; fmt.yOffset=100;
SendMessage(pRichEd->m_hWnd, EM_SETCHARFORMAT,SCF_ALL,(LPARAM)(&fmt));
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question