cmenter
asked on
creating status windows
I need to create four status windows. How do I create the status window in where I can write information to any specific windows and also clear that window of any text it may have?
You need to clarify your question. Is this for MFC? BCB? Is it a GUI app or a text app? Like nietod said, you can create as many windows as you want and use SetWindowText() to set the text. I think it would be better to have a listbox if you're using a GUI and add items to it since then you can scroll through them, insert items, etc. More info about what you're trying to do would be good.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Otherwise, just use an ordinary static text control window. (That is, just specify "STATIC" for the window class when you create the window.) You can then use SetWindowText() and GetWindowText() to set and get the messages in the window.