We help IT Professionals succeed at work.

display line number besides CRichEditControl

orange_juice
orange_juice asked
on
i am using a cricheditctrl.
what is the easiest + effective way of displaying line number besides the richedit control? (eg: show it beside the control, line by line, but not in the text area).
  if possible, display up to the place i type
  do i need to go to those owner drawn stuff??? (i never do that though)

appreciate link, sample code, idea.....etc
Comment
Watch Question

Hi,

I think u need to overide the paint even if u want to do it in the same window.  U can go through the www.scintilla.org there they have an edit box which can be enhanced to your requirements, source code is avaialble for download.

From

MRN Murthy

Author

Commented:
good project

Explore More ContentExplore courses, solutions, and other research materials related to this topic.