Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F554220
AboutGui.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
805 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\n
"
)
TEXT
(
GREETINGS
)
TEXT
(
"
\n\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
Tue, Feb 10, 5:11 AM (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2a/dc/938040c4904a73f9b65ac1159139
Attached To
rSCY Scylla
Event Timeline
Log In to Comment