forked from CobaltFusion/DebugViewPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegExDlg.cpp
More file actions
44 lines (36 loc) · 1.06 KB
/
Copy pathRegExDlg.cpp
File metadata and controls
44 lines (36 loc) · 1.06 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// (C) Copyright Gert-Jan de Vos and Jan Wilmans 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "CobaltFusion/Str.h"
#include "CobaltFusion/AtlWinExt.h"
#include "CobaltFusion/fusionassert.h"
#include "Win32/Utilities.h"
#include "RegExDlg.h"
namespace fusion {
namespace debugviewpp {
BEGIN_MSG_MAP2(CRegExDlg)
MSG_WM_INITDIALOG(OnInitDialog)
COMMAND_ID_HANDLER_EX(IDCANCEL, OnClose)
COMMAND_ID_HANDLER_EX(IDOK, OnClose)
REFLECT_NOTIFICATIONS()
END_MSG_MAP()
void CRegExDlg::OnException() const
{
FUSION_REPORT_EXCEPTION("Unknown Exception");
}
void CRegExDlg::OnException(const std::exception& ex) const
{
FUSION_REPORT_EXCEPTION(ex.what());
}
BOOL CRegExDlg::OnInitDialog(CWindow /*wndFocus*/, LPARAM /*lInitParam*/)
{
CenterWindow(GetParent());
return TRUE;
}
void CRegExDlg::OnClose(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
{
ShowWindow(SW_HIDE);
}
} // namespace debugviewpp
} // namespace fusion