I was reading your article on painting Text into a Win32 application.
I am attempting to write a small program that I would like to read an
INI file to get instructions and execute them accordingly. I am able to
do all that but I am not currently happy with the program That I have
created in MFC. Currently, I am using a Static inlay to send the text
to a dialog interface. I can only use the static Text Control, for if I
use the Edit Control, I am not able to enter the Text messages that I
generate from the execution of the INI instructions in new lines. They
all want to follow each other and "\n" or "\r" does not get me to a new
line. However the Static control do allow it, but it is transparent and
inherits the current windows' colors. So as you can see, I am getting a
little of what I want, but not very effective for what I want to do. I
would like to use your approach and have a white window to paint the
texts. I also would like to remove the ability for the user to close
the program while it is running. The system tools needs to only be
available as a "minimize" and a "maximize" the close option should not
I did generate a Win32 application using the C++ wizard and do have
the code you have on line. I wanted to know how I can paint to the
generated view dynamically. So far, I do see how to enter a Static
text, such as "hello world", but how do I keep adding to the existing
text and dynamically generate these entries from a separate function
that I will call to read the INI file and execute its instructions?
Any assistance that you can provide or any example of how to paint
dynamically would be appreciated.