28 #ifndef itkWin32OutputWindow_h
29 #define itkWin32OutputWindow_h
30 #if defined(_MSC_VER) || defined(__MINGW32__) // if on Windows
53 class ITKCommon_EXPORT Win32OutputWindow:
public OutputWindow
57 typedef Win32OutputWindow Self;
58 typedef OutputWindow Superclass;
66 itkTypeMacro(Win32OutputWindow, OutputWindow);
70 virtual void DisplayText(
const char *);
72 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
73 WPARAM wParam, LPARAM lParam);
76 Win32OutputWindow() {}
77 virtual ~Win32OutputWindow();
79 void PromptText(
const char *text);
81 static void AddText(
const char *);
83 static int Initialize();
86 Win32OutputWindow(
const Self &);
87 void operator=(
const Self &);
89 static HWND m_OutputWindow;
94 #endif // itkWin32OutputWindow_h