Added dialog
This commit is contained in:
BIN
Dialogs.aps
BIN
Dialogs.aps
Binary file not shown.
33
Dialogs.rc
33
Dialogs.rc
@@ -59,6 +59,16 @@ BEGIN
|
|||||||
CONTROL "",IDC_AXBROWSER1,"{A8F8E829-06DA-11D2-8D70-00A0C98B28E2}",WS_TABSTOP,7,7,354,63
|
CONTROL "",IDC_AXBROWSER1,"{A8F8E829-06DA-11D2-8D70-00A0C98B28E2}",WS_TABSTOP,7,7,354,63
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDD_PROPPAGE_SMALL DIALOGEX 0, 0, 81, 56
|
||||||
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||||
|
CAPTION "File"
|
||||||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||||
|
BEGIN
|
||||||
|
PUSHBUTTON "Save",IDC_SAVE,7,7,67,14,BS_LEFT | BS_VCENTER | BS_FLAT
|
||||||
|
PUSHBUTTON "Load",IDC_LOAD,7,21,67,14,BS_LEFT | BS_VCENTER | BS_FLAT
|
||||||
|
PUSHBUTTON "Cancel",IDC_LOAD2,7,35,67,14,BS_LEFT | BS_VCENTER | BS_FLAT
|
||||||
|
END
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -75,6 +85,14 @@ BEGIN
|
|||||||
TOPMARGIN, 7
|
TOPMARGIN, 7
|
||||||
BOTTOMMARGIN, 70
|
BOTTOMMARGIN, 70
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDD_PROPPAGE_SMALL, DIALOG
|
||||||
|
BEGIN
|
||||||
|
LEFTMARGIN, 7
|
||||||
|
RIGHTMARGIN, 74
|
||||||
|
TOPMARGIN, 7
|
||||||
|
BOTTOMMARGIN, 49
|
||||||
|
END
|
||||||
END
|
END
|
||||||
#endif // APSTUDIO_INVOKED
|
#endif // APSTUDIO_INVOKED
|
||||||
|
|
||||||
@@ -141,6 +159,21 @@ BEGIN
|
|||||||
END
|
END
|
||||||
#endif // APSTUDIO_INVOKED
|
#endif // APSTUDIO_INVOKED
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Menu
|
||||||
|
//
|
||||||
|
|
||||||
|
IDR_MENU1 MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP "File"
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Save", ID_FILE_SAVE40004
|
||||||
|
MENUITEM "Quit", ID_FILE_QUIT
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
#endif // English (Canada) resources
|
#endif // English (Canada) resources
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|||||||
1
main.cpp
1
main.cpp
@@ -43,6 +43,7 @@ static int go_id = 0;
|
|||||||
static int go_ovr_id = 0;
|
static int go_ovr_id = 0;
|
||||||
static int go_dn_id = 0;
|
static int go_dn_id = 0;
|
||||||
static bool mouseButton1Down = false;
|
static bool mouseButton1Down = false;
|
||||||
|
static bool running = true;
|
||||||
/**
|
/**
|
||||||
This simple demo applet uses the debug mode as the regular
|
This simple demo applet uses the debug mode as the regular
|
||||||
rendering mode so you can fly around the scene.
|
rendering mode so you can fly around the scene.
|
||||||
|
|||||||
14
resource.h
14
resource.h
@@ -4,16 +4,22 @@
|
|||||||
//
|
//
|
||||||
#define IDD_TOOLBOX 101
|
#define IDD_TOOLBOX 101
|
||||||
#define IDD_ABOUT_DIALOG 102
|
#define IDD_ABOUT_DIALOG 102
|
||||||
|
#define IDR_MENU1 107
|
||||||
|
#define IDD_PROPPAGE_SMALL 108
|
||||||
#define IDC_AXBROWSER1 1001
|
#define IDC_AXBROWSER1 1001
|
||||||
#define IDC_BUTTON1 1002
|
#define IDC_SAVE 1004
|
||||||
|
#define IDC_LOAD 1005
|
||||||
|
#define IDC_LOAD2 1006
|
||||||
|
#define ID_FILE_SAVE40004 40004
|
||||||
|
#define ID_FILE_QUIT 40005
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
//
|
//
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 106
|
#define _APS_NEXT_RESOURCE_VALUE 109
|
||||||
#define _APS_NEXT_COMMAND_VALUE 40004
|
#define _APS_NEXT_COMMAND_VALUE 40006
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1003
|
#define _APS_NEXT_CONTROL_VALUE 1005
|
||||||
#define _APS_NEXT_SYMED_VALUE 101
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user