SmartEdit.RC
上传用户:longsheng
上传日期:2007-01-02
资源大小:17k
文件大小:7k
源码类别:

编辑框

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Icon
  22. //
  23. // Icon with lowest ID value placed first to ensure application icon
  24. // remains consistent on all systems.
  25. IDR_MAINFRAME           ICON    DISCARDABLE     "res\SmartEdit.ico"
  26. /////////////////////////////////////////////////////////////////////////////
  27. //
  28. // Dialog
  29. //
  30. IDD_EDIT_DLG DIALOGEX 16, 16, 167, 161
  31. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
  32. EXSTYLE WS_EX_CLIENTEDGE
  33. CAPTION "Smart Edit Controls"
  34. FONT 10, "System", 0, 0, 0x1
  35. BEGIN
  36.     EDITTEXT        IDC_EDIT1,70,16,79,12
  37.     EDITTEXT        IDC_EDIT2,70,36,79,12
  38.     EDITTEXT        IDC_EDIT3,70,56,79,12
  39.     EDITTEXT        IDC_EDIT4,70,76,79,12
  40.     EDITTEXT        IDC_EDIT5,70,96,79,12
  41.     CONTROL         "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,34,130,40,
  42.                     20
  43.     LTEXT           "Letters:",IDC_STATIC,20,18,44,8
  44.     LTEXT           "Numbers:",IDC_STATIC,20,38,44,8
  45.     LTEXT           "Either:",IDC_STATIC,20,58,44,8
  46.     LTEXT           "Anything:",IDC_STATIC,20,98,44,8
  47.     LTEXT           "Floating Pt:",IDC_STATIC,20,78,46,8
  48.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,8,148,
  49.                     110
  50.     CONTROL         "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,92,
  51.                     130,40,20
  52. END
  53. IDD_BUTTON_DLG DIALOGEX 55, 38, 198, 115
  54. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
  55. EXSTYLE WS_EX_CLIENTEDGE
  56. CAPTION "Bitmap Button Test"
  57. FONT 10, "System", 0, 0, 0x1
  58. BEGIN
  59.     CONTROL         "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,10,48,40,20
  60.     CONTROL         "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,56,
  61.                     48,40,20
  62.     CONTROL         "APPLY",ID_APPLY_NOW,"Button",BS_OWNERDRAW | WS_TABSTOP,
  63.                     102,48,40,20
  64.     CONTROL         "HELP",9,"Button",BS_OWNERDRAW | WS_TABSTOP,148,48,40,20
  65.     PUSHBUTTON      "Control",IDC_CONTROL,43,84,42,18
  66.     PUSHBUTTON      "Exit",IDC_EXIT,113,84,42,18
  67.     CTEXT           "Auto-load self-drawing bitmap buttons.",IDC_STATIC,27,
  68.                     16,144,8
  69.     CTEXT           "Tab between them to see their focus states.",IDC_STATIC,
  70.                     27,26,144,8
  71. END
  72. IDD_SLIDE_DLG DIALOGEX 0, 0, 232, 190
  73. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
  74. EXSTYLE WS_EX_CLIENTEDGE
  75. CAPTION "Smart Edit and Slider Test"
  76. FONT 10, "System"
  77. BEGIN
  78.     CONTROL         "OK",IDOK,"Button",BS_OWNERDRAW | WS_TABSTOP,15,158,40,
  79.                     20
  80.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,10,
  81.                     154,64
  82.     CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS | 
  83.                     TBS_TOP | WS_BORDER | WS_TABSTOP,20,20,134,22,
  84.                     WS_EX_CLIENTEDGE
  85.     CONTROL         "Slider1",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS | 
  86.                     WS_BORDER | WS_TABSTOP,20,92,134,22,WS_EX_CLIENTEDGE
  87.     EDITTEXT        IDC_EDIT2,69,124,36,12,ES_CENTER | ES_AUTOHSCROLL,
  88.                     WS_EX_CLIENTEDGE
  89.     CONTROL         "Slider3",IDC_SLIDER3,"msctls_trackbar32",TBS_AUTOTICKS | 
  90.                     TBS_VERT | TBS_BOTH | WS_TABSTOP,187,23,21,90,
  91.                     WS_EX_CLIENTEDGE
  92.     EDITTEXT        IDC_EDIT3,182,124,32,12,ES_CENTER | ES_AUTOHSCROLL,
  93.                     WS_EX_CLIENTEDGE
  94.     CONTROL         "CANCEL",IDCANCEL,"Button",BS_OWNERDRAW | WS_TABSTOP,71,
  95.                     158,40,20
  96.     EDITTEXT        IDC_EDIT1,69,52,36,12,ES_CENTER | ES_AUTOHSCROLL | 
  97.                     ES_READONLY,WS_EX_CLIENTEDGE
  98.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,10,82,
  99.                     154,64
  100.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,174,10,
  101.                     48,136
  102.     CONTROL         "APPLY",ID_APPLY_NOW,"Button",BS_OWNERDRAW | WS_TABSTOP,
  103.                     125,158,40,20
  104.     CONTROL         "HELP",9,"Button",BS_OWNERDRAW | WS_TABSTOP,179,158,40,
  105.                     20
  106. END
  107. IDD_APP_DLG DIALOGEX 0, 0, 112, 159
  108. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
  109. EXSTYLE WS_EX_CLIENTEDGE
  110. CAPTION "Control Test Dialog"
  111. FONT 10, "System", 0, 0, 0x1
  112. BEGIN
  113.     DEFPUSHBUTTON   "Exit",IDOK,36,128,40,18
  114.     PUSHBUTTON      "Edit Boxes",IDC_TEST_EDIT,24,24,62,20
  115.     PUSHBUTTON      "Buttons",IDC_TEST_BUTTON,24,84,62,20
  116.     PUSHBUTTON      "Sliders",IDC_TEST_SLIDERS,24,54,62,20
  117.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME | SS_SUNKEN,12,12,88,
  118.                     104
  119. END
  120. /////////////////////////////////////////////////////////////////////////////
  121. //
  122. // Bitmap
  123. //
  124. APPLYU                  BITMAP  MOVEABLE PURE   "res\applyu.bmp"
  125. APPLYD                  BITMAP  MOVEABLE PURE   "res\applyd.bmp"
  126. APPLYF                  BITMAP  MOVEABLE PURE   "res\applyf.bmp"
  127. APPLYX                  BITMAP  MOVEABLE PURE   "res\applyx.bmp"
  128. CANCELU                 BITMAP  MOVEABLE PURE   "res\cancelu.bmp"
  129. CANCELD                 BITMAP  MOVEABLE PURE   "res\canceld.bmp"
  130. CANCELF                 BITMAP  MOVEABLE PURE   "res\cancelf.bmp"
  131. CANCELX                 BITMAP  MOVEABLE PURE   "res\cancelx.bmp"
  132. HELPU                   BITMAP  MOVEABLE PURE   "res\helpu.bmp"
  133. HELPD                   BITMAP  MOVEABLE PURE   "res\helpd.bmp"
  134. HELPF                   BITMAP  MOVEABLE PURE   "res\helpf.bmp"
  135. HELPX                   BITMAP  MOVEABLE PURE   "res\helpx.bmp"
  136. OKU                     BITMAP  MOVEABLE PURE   "res\oku.bmp"
  137. OKD                     BITMAP  MOVEABLE PURE   "res\okd.bmp"
  138. OKF                     BITMAP  MOVEABLE PURE   "res\okf.bmp"
  139. OKX                     BITMAP  MOVEABLE PURE   "res\okx.bmp"
  140. #ifdef APSTUDIO_INVOKED
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // TEXTINCLUDE
  144. //
  145. 1 TEXTINCLUDE DISCARDABLE 
  146. BEGIN
  147.     "resource.h"
  148. END
  149. 2 TEXTINCLUDE DISCARDABLE 
  150. BEGIN
  151.     "#include ""afxres.h""rn"
  152.     ""
  153. END
  154. 3 TEXTINCLUDE DISCARDABLE 
  155. BEGIN
  156.     "rn"
  157.     ""
  158. END
  159. #endif    // APSTUDIO_INVOKED
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // DESIGNINFO
  163. //
  164. #ifdef APSTUDIO_INVOKED
  165. GUIDELINES DESIGNINFO DISCARDABLE 
  166. BEGIN
  167.     IDD_APP_DLG, DIALOG
  168.     BEGIN
  169.         LEFTMARGIN, 7
  170.         RIGHTMARGIN, 105
  171.         TOPMARGIN, 7
  172.         BOTTOMMARGIN, 152
  173.     END
  174. END
  175. #endif    // APSTUDIO_INVOKED
  176. #endif    // English (U.S.) resources
  177. /////////////////////////////////////////////////////////////////////////////
  178. #ifndef APSTUDIO_INVOKED
  179. /////////////////////////////////////////////////////////////////////////////
  180. //
  181. // Generated from the TEXTINCLUDE 3 resource.
  182. //
  183. /////////////////////////////////////////////////////////////////////////////
  184. #endif    // not APSTUDIO_INVOKED