blob: 1a96f569de9f0dd726e17f9e8f910d56903e2ea2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// MyMessages.h
#ifndef __MYMESSAGES_H
#define __MYMESSAGES_H
#include "Common/String.h"
void MyMessageBox(HWND window, LPCWSTR message);
inline void MyMessageBox(LPCWSTR message)
{ MyMessageBox(0, message); }
void MyMessageBoxResource(HWND window, UINT32 id
#ifdef LANG
,UINT32 langID
#endif
);
void MyMessageBox(UINT32 id
#ifdef LANG
,UINT32 langID
#endif
);
void ShowErrorMessage(HWND window, DWORD errorMessage);
inline void ShowErrorMessage(DWORD errorMessage)
{ ShowErrorMessage(0, errorMessage); }
void ShowLastErrorMessage(HWND window = 0);
#endif
|