27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
#include "windef.h"
|
|
#include "winuser.h"
|
|
#include "serialui.h"
|
|
|
|
|
|
IDD_SERIALUICONFIG DIALOG DISCARDABLE 0, 0, 160, 159
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
|
|
CAPTION "Properties for "
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Baud Rate", 0,5,20,55,10
|
|
COMBOBOX IDC_BAUD, 60, 20, 90, 36, CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Parity", 0,5,40,55,10
|
|
COMBOBOX IDC_PARITY, 60, 40, 90, 36, CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Flow Control", 0,5,60,55,10
|
|
COMBOBOX IDC_FLOW, 60, 60, 90, 36, CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Data Bits", 0,5,80,55,10
|
|
COMBOBOX IDC_DATA, 60, 80, 90, 36, CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Stop Bits", 0,5,100,55,10
|
|
COMBOBOX IDC_STOP, 60, 100, 90, 36, CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", IDOK,30,138,50,14
|
|
PUSHBUTTON "Cancel", IDCANCEL,85,138,50,14
|
|
/* these two buttons are for testing Get/SetDefaultCommConfig */
|
|
/* PUSHBUTTON "GetDefault", ID_GETDEFAULT,30,115,50,14 */
|
|
/* PUSHBUTTON "SetDefault", ID_SETDEFAULT,85,115,50,14 */
|
|
END
|