Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F575486
AboutGui.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
856 B
Subscribers
None
AboutGui.cpp
View Options
#include
"AboutGui.h"
#include
"definitions.h"
BOOL
AboutGui
::
OnInitDialog
(
CWindow
wndFocus
,
LPARAM
lInitParam
)
{
StaticTitle
.
Attach
(
GetDlgItem
(
IDC_STATIC_ABOUT_TITLE
));
StaticAbout
.
Attach
(
GetDlgItem
(
IDC_STATIC_ABOUT
));
LOGFONT
lf
;
CFontHandle
font
=
StaticTitle
.
GetFont
();
font
.
GetLogFont
(
&
lf
);
lf
.
lfWeight
=
FW_BOLD
;
FontBold
.
CreateFontIndirect
(
&
lf
);
StaticTitle
.
SetFont
(
FontBold
,
FALSE
);
StaticTitle
.
SetWindowText
(
TEXT
(
APPNAME
)
TEXT
(
" "
)
TEXT
(
ARCHITECTURE
)
TEXT
(
" "
)
TEXT
(
APPVERSION
));
StaticAbout
.
SetWindowText
(
TEXT
(
DEVELOPED
)
TEXT
(
"
\n\n\n
"
)
TEXT
(
CREDIT_DISTORM
)
TEXT
(
"
\n
"
)
TEXT
(
CREDIT_YODA
)
TEXT
(
"
\n
"
)
TEXT
(
CREDIT_WTL
)
TEXT
(
"
\n
"
)
TEXT
(
CREDIT_SILK
)
TEXT
(
"
\n\n
"
)
TEXT
(
GREETINGS
)
TEXT
(
"
\n\n
"
)
TEXT
(
VISIT
));
CenterWindow
();
return
TRUE
;
}
void
AboutGui
::
OnCancel
(
UINT
uNotifyCode
,
int
nID
,
CWindow
wndCtl
)
{
FontBold
.
DeleteObject
();
EndDialog
(
0
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Wed, Mar 4, 4:50 AM (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
48/dc/59d1cc8037af345a9337b8dc83f3
Attached To
rSCY Scylla
Event Timeline
Log In to Comment