Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MyMessages.h « Explorer « UI « 7zip - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3c02d7493a40196a870647f86618af98e62a26b (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
// 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 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