Hi all,
I'm writing a small utility program in which I want to implement
a simple 'help' function.
I don't want to use the standard windows help-system for 2 reasons:
a) I don't know how to use it (yet)...
b) I don't want to use a seperate .hlp-file. I would like the
helptext to be stored in the source code itself.
I was thinking of simply using an editbox (textbox) or a richedit
box with scrollbars to show the helptext, so the user can read
the whole text by scrolling up or down.
Question is how to store the helptext in the source code to get
it in the editbox afterwards.
I was thinking of using the good old (?) 'data'-statements to
store the helptext in.
To type the helptext however, I want to use a texteditor 'cause
typing lots of text directly in data-statements is not a pleasant
task. I guess I could write a simple utility to convert the lines
of text, entered in a text editor, to data-statements and
copy-paste these in my source code.
Unless.... one of you has a much better (read: 'simpler') idea...
kind regards
Eddy
------------------
I'm writing a small utility program in which I want to implement
a simple 'help' function.
I don't want to use the standard windows help-system for 2 reasons:
a) I don't know how to use it (yet)...
b) I don't want to use a seperate .hlp-file. I would like the
helptext to be stored in the source code itself.
I was thinking of simply using an editbox (textbox) or a richedit
box with scrollbars to show the helptext, so the user can read
the whole text by scrolling up or down.
Question is how to store the helptext in the source code to get
it in the editbox afterwards.
I was thinking of using the good old (?) 'data'-statements to
store the helptext in.
To type the helptext however, I want to use a texteditor 'cause
typing lots of text directly in data-statements is not a pleasant
task. I guess I could write a simple utility to convert the lines
of text, entered in a text editor, to data-statements and
copy-paste these in my source code.
Unless.... one of you has a much better (read: 'simpler') idea...
kind regards
Eddy
------------------
Comment