471,089 Members | 1,116 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

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

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


Oct 5 '06 #1
2 1386
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.
Oct 5 '06 #2
Excellent, thank you for the guidance.

Regards,
Steve

"AMercer" wrote:
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.
Oct 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by 20041210.20.eclipse | last post: by
182 posts views Thread by Jim Hubbard | last post: by
15 posts views Thread by jim | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.