File:  [WindowsNT SDKs] / mstools / mfc / samples / ctrltest / featpen.dlg
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:21:00 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, ntsdk-jun-1992, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 297 06-28-1992

// 1 pen control for feature test

IDD_PENEDIT_FEATURES DIALOG 16, 16, 207, 72
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sample PenEdit for playing with features"
FONT 8, "Helv"
BEGIN
	CONTROL         "", IDC_EDIT1, "hedit", ES_LEFT | ES_AUTOHSCROLL | 
					WS_BORDER | WS_TABSTOP, 5, 8, 143, 26
	PUSHBUTTON      "Configure", IDC_CONFIGURE, 156, 6, 45, 14
	DEFPUSHBUTTON   "Done", IDOK, 87, 52, 33, 14
END

IDD_PENEDIT_CONFIGURE DIALOG 33, 32, 234, 100
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configure PenEdit features"
FONT 8, "Helv"
BEGIN
	GROUPBOX        "Alphabetic Constraints (ALC)", -1, 6, 7, 105, 89
	// buttons in the ALC group are based off of IDC_ALC_FIRST and must
	//  be in the same order as the ALC #defines
	CONTROL         "Lowercase Alpha", IDC_ALC_FIRST+0, "Button",
					BS_AUTOCHECKBOX | WS_TABSTOP | WS_GROUP, 13, 19, 88, 10
	CONTROL         "Uppercase Alpha", IDC_ALC_FIRST+1, "Button",
					BS_AUTOCHECKBOX, 13, 29, 88, 10
	CONTROL         "Numeric", IDC_ALC_FIRST+2, "Button",
					BS_AUTOCHECKBOX, 13, 39, 88, 10
	CONTROL         "Punctuation", IDC_ALC_FIRST+3, "Button",
					BS_AUTOCHECKBOX, 13, 49, 88, 10
	CONTROL         "Math", IDC_ALC_FIRST+4, "Button",
					BS_AUTOCHECKBOX, 13, 69, 88, 10
	CONTROL         "Monetary", IDC_ALC_FIRST+5, "Button",
					BS_AUTOCHECKBOX, 13, 59, 88, 10
	CONTROL         "Other", IDC_ALC_FIRST+6, "Button",
					BS_AUTOCHECKBOX, 13, 79, 88, 10
	CONTROL         "Other", 1106, "Button", BS_AUTOCHECKBOX, 13, 79, 88, 10

	// ink drawing
	GROUPBOX        "Ink", -1, 115, 7, 73, 50
	RTEXT           "Width:", -1, 121, 21, 29, 8
	EDITTEXT        IDC_EDIT1, 155, 20, 22, 12
	PUSHBUTTON      "Choose Color", IDC_BUTTON2, 125, 39, 54, 14

	// other options
	CONTROL         "Left Handed", IDC_BUTTON1, "Button", BS_AUTOCHECKBOX | 
					WS_GROUP | WS_TABSTOP, 115, 67, 56, 10

	// misc
	DEFPUSHBUTTON   "OK", IDOK, 195, 6, 33, 14
	PUSHBUTTON      "Cancel", IDCANCEL, 195, 23, 33, 14
END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.