C++ Microsoft Forms Application 2003.NET - read-only text file dis

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am new to this Application environment, though not new to C++ or the
Windows IDE. My task is to develop an ASCII file viewer.

I am having difficulty finding an object that allows me to display the
contents of an ascii file in 'read only' format in a Window. These files can
be very large. I need to be able to scroll through the lines, and have a
Mouse Click event tell me which line a user wants to see more information
about.

regards,
Steve
 
I am new to this Application environment, though not new to C++ or the
Windows IDE. My task is to develop an ASCII file viewer.

I am having difficulty finding an object that allows me to display the
contents of an ascii file in 'read only' format in a Window. These files can
be very large. I need to be able to scroll through the lines, and have a
Mouse Click event tell me which line a user wants to see more information
about.

Try a RichTextBox docked to the form so that when you resize the form, the
rtb resizes along with it. An rtb can be readonly. If you want columns to
line up, you can use a fixed pitch font. You can word-wrap, or you can have
a horizontal scroll bar.
 
Back
Top