From 2a7f4bcd4c04d0e48e580c4b11a94174bc5b09ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 19 Jul 2022 11:56:59 +0200 Subject: Implement centered message box. --- c/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/common.h') diff --git a/c/common.h b/c/common.h index a4f1fd4..9d14b1d 100644 --- a/c/common.h +++ b/c/common.h @@ -11,6 +11,9 @@ #define WA "A" #endif +int EBMessageBox(const TCHAR* tszText, const TCHAR* tszCaption, unsigned uType); +int EBMessageBoxA(const char* szText, const char* szCaption, unsigned uType); + struct Win32Error : public std::exception { Win32Error(DWORD dwErr); -- cgit v1.2.3