-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDABOUT.CPP
More file actions
executable file
·31 lines (27 loc) · 868 Bytes
/
DABOUT.CPP
File metadata and controls
executable file
·31 lines (27 loc) · 868 Bytes
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
/* ********************************
REGULAR ABOUT STUFF
******************************** */
_CLASSDEF(TDlgAbout)
// Declare TDlgAbout, a TDialog descendant for the Help - About window
class TDlgAbout : public TDialog
{
public:
TDlgAbout(PTWindowsObject pwParent, int nResourceID)
: TDialog(pwParent, nResourceID) {}
virtual void More(RTMessage Msg) = [ID_FIRST + ID_MORE];
};
_CLASSDEF(TDlgAboutMore)
// Declare TDlgAbout, a TDialog descendant for the Help - About window
class TDlgAboutMore : public TDialog
{
public:
TDlgAboutMore(PTWindowsObject pwParent, int nResourceID)
: TDialog(pwParent, nResourceID) {}
};
// Hit More for About Dialog, open up About More window
void TDlgAbout::More(RTMessage Msg)
{
if (Msg.LP.Hi == BN_CLICKED)
GetModule()->ExecDialog(
new TDlgAboutMore(this, DG_ABOUTMORE));
}