[pywin32-checkins] pywin32/win32/test/win32rcparser test.h,1.1,1.2 test.rc,1.1,1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-05-26 08:28:32
|
Update of /cvsroot/pywin32/pywin32/win32/test/win32rcparser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5247 Modified Files: test.h test.rc Log Message: Add more complex dialogs for testing Index: test.rc =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/win32rcparser/test.rc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test.rc 9 Apr 2004 11:13:20 -0000 1.1 --- test.rc 26 May 2004 08:28:22 -0000 1.2 *************** *** 60,63 **** --- 60,65 ---- DEFPUSHBUTTON "OK",IDOK,129,7,50,14 PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14 + ICON IDI_PYTHON,IDC_STATIC,142,47,21,20 + LTEXT "An icon",IDC_STATIC,140,70,34,9 END *************** *** 68,72 **** BEGIN DEFPUSHBUTTON "OK",IDOK,129,7,50,14 ! PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14 END --- 70,121 ---- BEGIN DEFPUSHBUTTON "OK",IDOK,129,7,50,14 ! PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14,NOT WS_TABSTOP ! CONTROL 103,IDC_STATIC,"Static",SS_BITMAP,139,49,32,32 ! LTEXT "A bitmap",IDC_STATIC,135,72,34,9 ! EDITTEXT IDC_EDIT1,59,7,59,14,ES_AUTOHSCROLL ! EDITTEXT IDC_EDIT2,59,31,60,15,ES_AUTOHSCROLL | NOT WS_TABSTOP ! LTEXT "Tabstop",IDC_STATIC,7,9,43,10 ! LTEXT "Not Tabstop",IDC_STATIC,7,33,43,10 ! END ! ! IDD_TEST_DIALOG3 DIALOGEX 0, 0, 232, 310 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU ! CAPTION "Dialog" ! FONT 8, "MS Sans Serif", 0, 0, 0x1 ! BEGIN ! GROUPBOX "Frame",IDC_STATIC,7,7,218,41 ! LTEXT "Left Static",IDC_STATIC,16,17,73,11 ! EDITTEXT IDC_EDIT1,103,15,112,12,ES_AUTOHSCROLL ! LTEXT "Right Static",IDC_STATIC,16,30,73,11,0,WS_EX_RIGHT ! CONTROL "",IDC_RICHEDIT1,"RICHEDIT",ES_AUTOHSCROLL | WS_BORDER | ! WS_TABSTOP,103,31,113,14 ! CONTROL "Check1",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | ! WS_TABSTOP,7,52,68,12 ! COMBOBOX IDC_COMBO1,85,52,82,35,CBS_DROPDOWNLIST | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP ! CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,7,71, ! 14,22 ! CONTROL "Progress1",IDC_PROGRESS1,"msctls_progress32",WS_BORDER, ! 39,72,153,13 ! SCROLLBAR IDC_SCROLLBAR2,207,55,13,57,SBS_VERT ! CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | ! TBS_NOTICKS | WS_TABSTOP,35,91,159,7 ! SCROLLBAR IDC_SCROLLBAR1,37,102,155,11 ! CONTROL "Tab1",IDC_TAB1,"SysTabControl32",0x0,7,120,217,43 ! CONTROL "Animate1",IDC_ANIMATE1,"SysAnimate32",WS_BORDER | ! WS_TABSTOP,7,171,46,42 ! CONTROL "List1",IDC_LIST1,"SysListView32",WS_BORDER | WS_TABSTOP, ! 63,171,53,43 ! CONTROL "Tree1",IDC_TREE1,"SysTreeView32",WS_BORDER | WS_TABSTOP, ! 126,171,50,43 ! CONTROL "MonthCalendar1",IDC_MONTHCALENDAR1,"SysMonthCal32", ! MCS_NOTODAY | WS_TABSTOP,7,219,140,84 ! CONTROL "DateTimePicker1",IDC_DATETIMEPICKER1,"SysDateTimePick32", ! DTS_RIGHTALIGN | WS_TABSTOP,174,221,51,15 ! DEFPUSHBUTTON "OK",IDOK,175,289,50,14 ! PUSHBUTTON "Hello",IDC_HELLO,175,271,50,14 ! PUSHBUTTON "Hello",IDC_HELLO2,175,240,50,26,BS_ICON ! LISTBOX IDC_LIST2,184,171,40,45,LBS_SORT | LBS_NOINTEGRALHEIGHT | ! WS_VSCROLL | WS_TABSTOP END *************** *** 95,98 **** --- 144,155 ---- BOTTOMMARGIN, 88 END + + IDD_TEST_DIALOG3, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 225 + TOPMARGIN, 7 + BOTTOMMARGIN, 303 + END END #endif // APSTUDIO_INVOKED *************** *** 117,120 **** --- 174,192 ---- ///////////////////////////////////////////////////////////////////////////// // + // Dialog Info + // + + IDD_TEST_DIALOG3 DLGINIT + BEGIN + IDC_COMBO1, 0x403, 6, 0 + 0x7449, 0x6d65, 0x0031, + IDC_COMBO1, 0x403, 6, 0 + 0x7449, 0x6d65, 0x0032, + 0 + END + + + ///////////////////////////////////////////////////////////////////////////// + // // String Table // Index: test.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/win32rcparser/test.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test.h 9 Apr 2004 11:13:20 -0000 1.1 --- test.h 26 May 2004 08:28:22 -0000 1.2 *************** *** 3,17 **** // Used by test.rc // ! #define IDS_TEST_STRING1 1 ! #define IDS_TEST_STRING2 2 ! #define IDS_TEST_STRING3 3 ! #define IDS_TEST_STRING4 4 ! #define IDS_TEST_STRING5 5 ! #define IDS_TEST_STRING6 6 ! #define IDS_TEST_STRING7 7 #define IDD_TEST_DIALOG1 101 #define IDD_TEST_DIALOG2 102 - #define IDI_PYTHON 102 #define IDB_PYTHON 103 // Next default values for new objects --- 3,37 ---- // Used by test.rc // ! #define IDS_TEST_STRING1 51 ! #define IDS_TEST_STRING2 52 ! #define IDS_TEST_STRING3 53 ! #define IDS_TEST_STRING4 54 ! #define IDS_TEST_STRING5 55 ! #define IDS_TEST_STRING6 56 ! #define IDS_TEST_STRING7 57 #define IDD_TEST_DIALOG1 101 #define IDD_TEST_DIALOG2 102 #define IDB_PYTHON 103 + #define IDI_PYTHON 105 + #define IDD_TEST_DIALOG3 105 + #define IDC_EDIT1 1000 + #define IDC_CHECK1 1001 + #define IDC_EDIT2 1001 + #define IDC_COMBO1 1002 + #define IDC_SPIN1 1003 + #define IDC_PROGRESS1 1004 + #define IDC_SLIDER1 1005 + #define IDC_LIST1 1006 + #define IDC_TREE1 1007 + #define IDC_TAB1 1008 + #define IDC_ANIMATE1 1009 + #define IDC_RICHEDIT1 1010 + #define IDC_DATETIMEPICKER1 1011 + #define IDC_MONTHCALENDAR1 1012 + #define IDC_SCROLLBAR1 1013 + #define IDC_SCROLLBAR2 1014 + #define IDC_LIST2 1015 + #define IDC_HELLO 1016 + #define IDC_HELLO2 1017 // Next default values for new objects *************** *** 19,25 **** #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS ! #define _APS_NEXT_RESOURCE_VALUE 105 #define _APS_NEXT_COMMAND_VALUE 40002 ! #define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 #endif --- 39,45 ---- #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS ! #define _APS_NEXT_RESOURCE_VALUE 107 #define _APS_NEXT_COMMAND_VALUE 40002 ! #define _APS_NEXT_CONTROL_VALUE 1018 #define _APS_NEXT_SYMED_VALUE 101 #endif |