24#ifndef _SO_WIN_ERROR_CONSOLE_H__
25#define _SO_WIN_ERROR_CONSOLE_H__
74 const char *name = NULL,
98 void commonConstructor();
102 static char *stringBuffer;
104 static unsigned int maxNumMessages;
105 static unsigned int numMessages ;
108 static void clearStringBuffer(
void);
111 static POINT upLeftCtrlCorner;
112 static POINT upLeftClearButtonCorner;
113 static POINT upLeftSaveButtonCorner;
114 static POINT upLeftCloseButtonCorner;
115 static RECT initDlgSize;
118 void copyString(
const char *
string,
char *intoString);
121 char *addString(
const SbString& newString);
124 void formatString(
SbString& newString);
126 int countChar(
const char *source,
char toCount);
128 char *changeCarriageReturn(
const SbString& str,
int n);
137 static void onCommand(
Hwnd hdlg,
int id,
Hwnd hCtrl,
UINT codeNotify);
142 SbThreadId_t m_threadId;
145 static bool s_controlIsDown;
#define TRUE
Possible value of SbBool.
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable mutex c...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Creates a Win32 ...
static void setMaxNumMessages(int)
Sets the maximum number of messages to be printed in the console.
HWND getConsoleHandle(void)
Returns a handle to the console.
virtual ~SoConsole()
Destructor.
SoConsole(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE)
Constructor.
void printMessage(const SbString &str)
Sends a message to the console.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...