75 lines
2.2 KiB
Plaintext
75 lines
2.2 KiB
Plaintext
|
#include <windows.h>
|
||
|
#include <winver.h>
|
||
|
#include <ntverp.h>
|
||
|
|
||
|
#include "resource.h"
|
||
|
|
||
|
#ifdef IDC_STATIC
|
||
|
#undef IDC_STATIC
|
||
|
#endif
|
||
|
#define IDC_STATIC (-1)
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Dialog
|
||
|
//
|
||
|
|
||
|
IDD_BROWSE DIALOGEX 0, 0, 313, 146
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Browse Glyph Database"
|
||
|
//FONT 8, "MS Sans Serif"
|
||
|
BEGIN
|
||
|
DEFPUSHBUTTON "Close",IDOK,74,120,50,14
|
||
|
PUSHBUTTON "Delete",IDC_DELETE,181,120,50,14
|
||
|
LTEXT "",IDC_GLYPH,4,82,302,29,0,WS_EX_STATICEDGE
|
||
|
LTEXT "Glyph:",IDC_STATIC,5,71,24,8
|
||
|
LTEXT "Comment:",IDC_STATIC,161,9,68,8
|
||
|
LISTBOX IDC_IDLIST,5,21,146,46,LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
|
||
|
WS_TABSTOP
|
||
|
LTEXT "ID:",IDC_STATIC,11,9,18,8
|
||
|
LISTBOX IDC_COMMENTLIST,155,21,150,47,
|
||
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||
|
END
|
||
|
|
||
|
IDD_ADDGLYPH DIALOGEX 0, 0, 225, 116
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Add New Glyph To Database"
|
||
|
//FONT 8, "MS Sans Serif"
|
||
|
BEGIN
|
||
|
EDITTEXT IDC_IDEDIT,7,61,150,16,ES_AUTOHSCROLL
|
||
|
EDITTEXT IDC_COMMENT,7,89,150,17,ES_AUTOHSCROLL
|
||
|
LTEXT "Glyph:",IDC_STATIC,7,9,24,8
|
||
|
LTEXT "Comment:",IDC_STATIC,7,80,68,8
|
||
|
LTEXT "ID:",IDC_STATIC,7,52,16,8
|
||
|
DEFPUSHBUTTON "Add",IDOK,168,36,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,168,66,50,14
|
||
|
LTEXT "",IDC_GLYPH,7,19,150,29,0,WS_EX_STATICEDGE
|
||
|
END
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Menu
|
||
|
//
|
||
|
|
||
|
IDR_MENU1 MENU DISCARDABLE
|
||
|
BEGIN
|
||
|
POPUP "Glyph"
|
||
|
BEGIN
|
||
|
MENUITEM "Spy", ID_YEAH_START
|
||
|
MENUITEM "Browse", ID_YEAH_BROWSE
|
||
|
END
|
||
|
END
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Version info
|
||
|
//
|
||
|
|
||
|
#define VER_FILETYPE VFT_APP
|
||
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
|
#define VER_FILEDESCRIPTION_STR "Glyph spy"
|
||
|
#define VER_INTERNALNAME_STR "glyphspy.exe"
|
||
|
#define VER_ORIGINALFILENAME_STR "glyphspy.exe"
|
||
|
|
||
|
#include <common.ver>
|