Simple question

This is a discussion on Simple question within the Windows Programming forums, part of the Platform Specific Boards category; I'm just displaying text using the textout command but i can't remember how to clear the screen of the text ...

Actually can someone give me a better alternative to useing textout? I just want to have a basic window with writing on the background. I have a menu and when u click one of the options it displays text, but every time you minamize it the text goes away and you can't use the \n command so you need to have many lines of the text out command. Is there a better way to display lots of text other than the textout command?

Possibly better would be to use a Static control, then you can just SetWindowText(StaticH, ""); and the text is gone. Or if you want to completly clear the text you can just hide the control using showwindow(). You should be able to fiqure out what you need if you work with edit & static controls for displaying your text.