Greetings!
I have just returned to C++ after a couple of years in the FoxPro and
C# worlds. I am trying to adapt and expand existing code. For
debugging and just plain understanding the code I'm working with, I'd
like to put little message boxes into the code. It seems a pain to
declare a character array, write my message into it, and then call
AfxMessageBox() to dispaly it. It seems to me that it would be easy to
create a stream-based messagebox class that I could use as follows:
StreamMessageBo x << "My value is " << MyValue;
This would pop up a simple message box with a single OK button and my
message. It should be easy to add manipulators to this class to select
icons and use different button sets.
Does such a thing exist? If so, where can I get it?
Thanks very much!
RobR
I have just returned to C++ after a couple of years in the FoxPro and
C# worlds. I am trying to adapt and expand existing code. For
debugging and just plain understanding the code I'm working with, I'd
like to put little message boxes into the code. It seems a pain to
declare a character array, write my message into it, and then call
AfxMessageBox() to dispaly it. It seems to me that it would be easy to
create a stream-based messagebox class that I could use as follows:
StreamMessageBo x << "My value is " << MyValue;
This would pop up a simple message box with a single OK button and my
message. It should be easy to add manipulators to this class to select
icons and use different button sets.
Does such a thing exist? If so, where can I get it?
Thanks very much!
RobR
Comment