SmartEdit.RC
上传用户:longsheng
上传日期:2007-01-02
资源大小:17k
文件大小:7k
- //Microsoft Developer Studio generated resource script.
- //
- #include "resource.h"
- #define APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- //
- // Generated from the TEXTINCLUDE 2 resource.
- //
- #include "afxres.h"
- /////////////////////////////////////////////////////////////////////////////
- #undef APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- // English (U.S.) resources
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
- #ifdef _WIN32
- LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
- #pragma code_page(1252)
- #endif //_WIN32
- /////////////////////////////////////////////////////////////////////////////
- //
- // Icon
- //
- // Icon with lowest ID value placed first to ensure application icon
- // remains consistent on all systems.
- IDR_MAINFRAME ICON DISCARDABLE "res\SmartEdit.ico"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Dialog
- //
- IDD_EDIT_DLG DIALOGEX 16, 16, 167, 161
- STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
- EXSTYLE WS_EX_CLIENTEDGE
- CAPTION "Smart Edit Controls"
- FONT 10, "System", 0, 0, 0x1
- BEGIN
- EDITTEXT IDC_EDIT1,70,16,79,12
- EDITTEXT IDC_EDIT2,70,36,79,12
- EDITTEXT IDC_EDIT3,70,56,79,12
- EDITTEXT IDC_EDIT4,70,76,79,12
- EDITTEXT IDC_EDIT5,70,96,79,12
- CONTROL "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,34,130,40,
- 20
- LTEXT "Letters:",IDC_STATIC,20,18,44,8
- LTEXT "Numbers:",IDC_STATIC,20,38,44,8
- LTEXT "Either:",IDC_STATIC,20,58,44,8
- LTEXT "Anything:",IDC_STATIC,20,98,44,8
- LTEXT "Floating Pt:",IDC_STATIC,20,78,46,8
- CONTROL "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,8,148,
- 110
- CONTROL "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,92,
- 130,40,20
- END
- IDD_BUTTON_DLG DIALOGEX 55, 38, 198, 115
- STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
- EXSTYLE WS_EX_CLIENTEDGE
- CAPTION "Bitmap Button Test"
- FONT 10, "System", 0, 0, 0x1
- BEGIN
- CONTROL "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,10,48,40,20
- CONTROL "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,56,
- 48,40,20
- CONTROL "APPLY",ID_APPLY_NOW,"Button",BS_OWNERDRAW | WS_TABSTOP,
- 102,48,40,20
- CONTROL "HELP",9,"Button",BS_OWNERDRAW | WS_TABSTOP,148,48,40,20
- PUSHBUTTON "Control",IDC_CONTROL,43,84,42,18
- PUSHBUTTON "Exit",IDC_EXIT,113,84,42,18
- CTEXT "Auto-load self-drawing bitmap buttons.",IDC_STATIC,27,
- 16,144,8
- CTEXT "Tab between them to see their focus states.",IDC_STATIC,
- 27,26,144,8
- END
- IDD_SLIDE_DLG DIALOGEX 0, 0, 232, 190
- STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
- EXSTYLE WS_EX_CLIENTEDGE
- CAPTION "Smart Edit and Slider Test"
- FONT 10, "System"
- BEGIN
- CONTROL "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,15,158,40,
- 20
- CONTROL "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,10,
- 154,64
- CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS |
- TBS_TOP | WS_BORDER | WS_TABSTOP,20,20,134,22,
- WS_EX_CLIENTEDGE
- CONTROL "Slider1",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS |
- WS_BORDER | WS_TABSTOP,20,92,134,22,WS_EX_CLIENTEDGE
- EDITTEXT IDC_EDIT2,69,124,36,12,ES_CENTER | ES_AUTOHSCROLL,
- WS_EX_CLIENTEDGE
- CONTROL "Slider3",IDC_SLIDER3,"msctls_trackbar32",TBS_AUTOTICKS |
- TBS_VERT | TBS_BOTH | WS_TABSTOP,187,23,21,90,
- WS_EX_CLIENTEDGE
- EDITTEXT IDC_EDIT3,182,124,32,12,ES_CENTER | ES_AUTOHSCROLL,
- WS_EX_CLIENTEDGE
- CONTROL "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,71,
- 158,40,20
- EDITTEXT IDC_EDIT1,69,52,36,12,ES_CENTER | ES_AUTOHSCROLL |
- ES_READONLY,WS_EX_CLIENTEDGE
- CONTROL "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,82,
- 154,64
- CONTROL "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,174,10,
- 48,136
- CONTROL "APPLY",ID_APPLY_NOW,"Button",BS_OWNERDRAW | WS_TABSTOP,
- 125,158,40,20
- CONTROL "HELP",9,"Button",BS_OWNERDRAW | WS_TABSTOP,179,158,40,
- 20
- END
- IDD_APP_DLG DIALOGEX 0, 0, 112, 159
- STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
- EXSTYLE WS_EX_CLIENTEDGE
- CAPTION "Control Test Dialog"
- FONT 10, "System", 0, 0, 0x1
- BEGIN
- DEFPUSHBUTTON "Exit",IDOK,36,128,40,18
- PUSHBUTTON "Edit Boxes",IDC_TEST_EDIT,24,24,62,20
- PUSHBUTTON "Buttons",IDC_TEST_BUTTON,24,84,62,20
- PUSHBUTTON "Sliders",IDC_TEST_SLIDERS,24,54,62,20
- CONTROL "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,12,12,88,
- 104
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Bitmap
- //
- APPLYU BITMAP MOVEABLE PURE "res\applyu.bmp"
- APPLYD BITMAP MOVEABLE PURE "res\applyd.bmp"
- APPLYF BITMAP MOVEABLE PURE "res\applyf.bmp"
- APPLYX BITMAP MOVEABLE PURE "res\applyx.bmp"
- CANCELU BITMAP MOVEABLE PURE "res\cancelu.bmp"
- CANCELD BITMAP MOVEABLE PURE "res\canceld.bmp"
- CANCELF BITMAP MOVEABLE PURE "res\cancelf.bmp"
- CANCELX BITMAP MOVEABLE PURE "res\cancelx.bmp"
- HELPU BITMAP MOVEABLE PURE "res\helpu.bmp"
- HELPD BITMAP MOVEABLE PURE "res\helpd.bmp"
- HELPF BITMAP MOVEABLE PURE "res\helpf.bmp"
- HELPX BITMAP MOVEABLE PURE "res\helpx.bmp"
- OKU BITMAP MOVEABLE PURE "res\oku.bmp"
- OKD BITMAP MOVEABLE PURE "res\okd.bmp"
- OKF BITMAP MOVEABLE PURE "res\okf.bmp"
- OKX BITMAP MOVEABLE PURE "res\okx.bmp"
- #ifdef APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
- //
- // TEXTINCLUDE
- //
- 1 TEXTINCLUDE DISCARDABLE
- BEGIN
- "resource.h "
- END
- 2 TEXTINCLUDE DISCARDABLE
- BEGIN
- "#include ""afxres.h""rn"
- "