Etterna
0.74.4
Loading...
Searching...
No Matches
src
archutils
Win32
WindowsDialogBox.h
1
/* WindowsDialogBox - Simplifies the creation of modal Windows dialog boxes. */
2
3
#ifndef WINDOWS_DIALOG_BOX_H
4
#define WINDOWS_DIALOG_BOX_H
5
6
#include <windows.h>
7
8
class
WindowsDialogBox
9
{
10
public
:
11
WindowsDialogBox
();
12
virtual
~WindowsDialogBox
() {}
13
void
Run(
int
iDialog);
14
15
HWND GetHwnd() {
return
m_hWnd; }
16
17
protected
:
18
virtual
BOOL HandleMessage(UINT msg, WPARAM wParam, LPARAM lParam)
19
{
20
return
false
;
21
}
22
23
private
:
24
static
INT_PTR APIENTRY DlgProc(HWND hDlg,
25
UINT msg,
26
WPARAM wParam,
27
LPARAM lParam);
28
HWND m_hWnd;
29
};
30
31
#endif
WindowsDialogBox
Definition
WindowsDialogBox.h:9
Generated by
1.9.8