A wrap over the Windows MessageBoxW function providing Chusov::String::PrintfW formatting capability.
- Parameters
-
[in] | hParent | is a window descriptor. Passed directly to the MessageBoxW function. |
[in] | nType | is a type of the constructed message box. Passed directly to the MessageBoxW function. |
[in] | lpszTitle | is a wide C string passed directly to the MessageBoxW function to specify a title for the constructed window. |
[in] | lpszMessageFormat | is a string specifying format for the constructed message string together with additional parameters in the parameter list. The format string should be constructed according to the rules, specified for the Chusov::String::PrintfW function. |
| ap | is a list of parameters specified according to the lpszMessageFormat format string and the Chusov::String::PrintfW formatting rules. |
- Returns
- The function returns a value returned by an underlying call to the MessageBoxW function.
In no case the function will generate an exception, neither avoid calling the MessageBoxW function. If strings being passed to the MessageBoxW are invalid, they are replaced by unspecified but valid ones.