|
#include <fastformat/sinks/WindowsMessageBox.hpp>
MessageBox()
. Public Member Functions | |
WindowsMessageBox_sink (HWND hwnd, ff_char_t const *caption, UINT type) | |
Constructs an instance of the sink. | |
WindowsMessageBox_sink (WindowsMessageBox_sink const &rhs) | |
WindowsMessageBox_sink & | write (int, size_t cchTotal, size_t numResults, ff_string_slice_t const *results) |
Coallesces the slices and invokes MessageBox() with the result. | |
operator int () const | |
Implicit conversion operator for retrieving the MessageBox() return code. |
WindowsMessageBox_sink | ( | HWND | hwnd, | |
ff_char_t const * | caption, | |||
UINT | type | |||
) | [inline] |
Constructs an instance of the sink.
hwnd | Handle of the message box's owner window, or NULL if no owner | |
caption | The string to be used as the message box's title | |
type | Flags controlling the contents and behaviour of the message box, passed through to the underlying MessageBox() call |
WindowsMessageBox_sink& write | ( | int | , | |
size_t | cchTotal, | |||
size_t | numResults, | |||
ff_string_slice_t const * | results | |||
) | [inline] |
Coallesces the slices and invokes MessageBox()
with the result.
References fastformat::util::concat_slices().
Referenced by fastformat::sinks::fmt_slices().
operator int | ( | ) | const [inline] |
Implicit conversion operator for retrieving the MessageBox()
return code.
|
|
FastFormat Library documentation © Matthew Wilson, 2006-2009 |