-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresource.rc
65 lines (57 loc) · 2.04 KB
/
resource.rc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"
//
// Dialog resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
IDD_USERNAME_DLG DIALOGEX 0, 0, 260, 220
STYLE DS_SETFONT | DS_CONTROL | WS_BORDER | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "PAVEIKSLUAS",IDC_STATIC_IMG, SS_OWNERDRAW, SS_REALSIZEIMAGE | SS_ICON, 20,30,200,50
LTEXT "Enter username",IDC_STATIC,100,70,60,12,SS_NOPREFIX
EDITTEXT IDC_INPUT, 85, 84, 80, 15
DEFPUSHBUTTON "GO",IDOK,105,102,40,18,WS_GROUP
END
IDD_GAME_SEL_DLG DIALOGEX 0, 0, 260, 220
STYLE DS_SETFONT | DS_CONTROL | WS_BORDER | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose a game",IDC_STATIC,90,70,60,12,SS_NOPREFIX
COMBOBOX IDC_GAME_DROPWDOWN, 80, 84, 80, 15, CBS_DROPDOWNLIST | WS_TABSTOP
DEFPUSHBUTTON "GO",IDOK,98,102,40,18,WS_GROUP
END
IDD_GAME_DLG DIALOGEX 0, 0, 260, 225
STYLE DS_SETFONT | DS_CONTROL | WS_BORDER | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "",IDC_STATIC,50,70,160,50,SS_NOPREFIX
LTEXT "Guess word 1",IDC_TEXT,85,180,60,12,SS_NOPREFIX
EDITTEXT IDC_INPUT, 70, 194, 80, 18
DEFPUSHBUTTON "GUESS",IDOK,155,194,60,18,WS_GROUP | BS_DEFPUSHBUTTON
END
// SCORE DIALOG CONTROL
IDD_SCORE_DLG DIALOGEX 0, 0, 260, 225
STYLE DS_SETFONT | DS_CONTROL | WS_BORDER | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "You finished!",IDC_STATIC,100,70,60,12,SS_NOPREFIX
LTEXT "Score: ",IDC_TEXT,103,100,100,12,SS_NOPREFIX
LTEXT "Wanna play another game?",IDC_STATIC,80,140,90,12,SS_NOPREFIX
PUSHBUTTON "&PLAY", IDOK, 100, 155, 40, 15
DEFPUSHBUTTON "Quit",IDCANCEL,170,194,60,18,WS_GROUP | BS_DEFPUSHBUTTON
END
IDD_CONTAINER DIALOGEX 0, 0, 260, 225
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "GuessW_RD"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "", IDC_CHILDSPACE, 0, 0, 260, 225
END
//
// Manifest resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 RT_MANIFEST ".\\manifest.xml"