ecfaa5f1b0
- snapshot_handler(): simplified the filedialog call
29 lines
951 B
Plaintext
29 lines
951 B
Plaintext
#include <windows.h>
|
|
#include "gui\win32res.h"
|
|
|
|
ICON_BOCHS ICON build\win32\nsis\bochs.ico
|
|
|
|
ASK_DLG DIALOG 30, 30, 200, 100
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Event"
|
|
FONT 8, "Helv"
|
|
BEGIN
|
|
LTEXT "Device", IDASKTX1, 10, 12, 40, 14
|
|
EDITTEXT IDASKDEV, 45, 10, 145, 14, ES_READONLY
|
|
LTEXT "Message", IDASKTX2, 10, 27, 40, 14
|
|
EDITTEXT IDASKMSG, 45, 25, 145, 14, ES_READONLY | ES_AUTOHSCROLL
|
|
LISTBOX IDASKLIST, 10, 50, 120, 45, WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", IDOK, 140, 50, 50, 14
|
|
PUSHBUTTON "Cancel", IDCANCEL, 140, 70, 50, 14
|
|
END
|
|
|
|
STRING_DLG DIALOG 30, 30, 130, 65
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Param"
|
|
FONT 8, "Helv"
|
|
BEGIN
|
|
EDITTEXT IDSTRING, 15, 15, 100, 14
|
|
DEFPUSHBUTTON "OK", IDOK, 10, 40, 50, 14
|
|
PUSHBUTTON "Cancel", IDCANCEL, 70, 40, 50, 14
|
|
END
|