Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.9 KiB

  1. #include "pttest.h"
  2. iddArticleCacheTest DIALOGEX_16 0, 0, 420, 318
  3. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  4. CAPTION "Article Cache Test (Using Property Tree)"
  5. FONT 8, DLG_UI_FONT
  6. BEGIN
  7. EDITTEXT ideArticleNumber,161,23,97,12,ES_AUTOHSCROLL
  8. EDITTEXT ideFlags,161,38,97,12,ES_AUTOHSCROLL
  9. EDITTEXT ideReferences,161,83,252,12,ES_AUTOHSCROLL
  10. EDITTEXT ideMessageId,161,98,252,12,ES_AUTOHSCROLL
  11. EDITTEXT ideXref,161,113,252,12,ES_AUTOHSCROLL
  12. EDITTEXT ideSubject,161,128,251,12,ES_AUTOHSCROLL
  13. EDITTEXT ideFrom,161,144,251,12,ES_AUTOHSCROLL
  14. EDITTEXT ideArticle,104,162,309,69,ES_MULTILINE | ES_AUTOVSCROLL |
  15. ES_AUTOHSCROLL | ES_WANTRETURN
  16. PUSHBUTTON "Save",idbNew,104,234,50,14
  17. PUSHBUTTON "Update",idbUpdate,158,234,50,14
  18. PUSHBUTTON "Delete",idbCancel,212,234,50,14
  19. PUSHBUTTON "Search",idbSearch,266,234,56,14
  20. PUSHBUTTON "Clear",idbClear,363,234,50,14
  21. PUSHBUTTON "Compact Cache",idbCompact,7,259,74,14
  22. PUSHBUTTON "Tree Stats",idbStats,85,259,62,14
  23. EDITTEXT ideStormRecs,98,283,61,12,ES_AUTOHSCROLL
  24. EDITTEXT ideStormSeed,187,283,40,12,ES_AUTOHSCROLL
  25. PUSHBUTTON "Random Insert",idbStormInsert,232,282,75,14
  26. PUSHBUTTON "Query All Rows",idbFillList,7,7,88,14
  27. EDITTEXT ideCacheFile,161,8,208,12,ES_AUTOHSCROLL
  28. PUSHBUTTON "Browse",idbBrowse,372,7,41,14
  29. LISTBOX idlbNumbers,7,23,88,228, LBS_NOINTEGRALHEIGHT |
  30. WS_VSCROLL | WS_TABSTOP,WS_EX_CLIENTEDGE
  31. LTEXT "Article Number:",IDC_STATIC,104,25,49,8
  32. LTEXT "Flags:",IDC_STATIC,104,40,49,8
  33. LTEXT "Date:",IDC_STATIC,104,55,49,8
  34. LTEXT "Article Size:",IDC_STATIC,104,70,49,8
  35. LTEXT "Subject:",IDC_STATIC,104,130,49,8
  36. LTEXT "From:",IDC_STATIC,104,144,49,8
  37. LTEXT "References:",IDC_STATIC,104,85,49,8
  38. LTEXT "Xref:",IDC_STATIC,104,115,49,8
  39. LTEXT "Message Id:",IDC_STATIC,104,100,49,8
  40. EDITTEXT ideDate,161,53,252,12,ES_AUTOHSCROLL | ES_READONLY
  41. EDITTEXT ideArticleSize,161,68,252,12,ES_AUTOHSCROLL |
  42. ES_READONLY
  43. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,255,405,1
  44. LTEXT "Number of records to insert:",IDC_STATIC,7,285,88,8
  45. LTEXT "Records In Cache:",IDC_STATIC,313,302,60,8
  46. RTEXT "0",idsRecordCount,380,302,25,8
  47. LTEXT "Seed:",IDC_STATIC,163,285,20,8
  48. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,298,406,1
  49. LTEXT "Status Message",idsStatus,7,302,286,8
  50. LTEXT "Cache File:",IDC_STATIC,104,11,36,8
  51. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,276,406,1
  52. LTEXT "Time:",IDC_STATIC,330,284,18,8
  53. RTEXT "Static",idsInsertTime,358,284,49,8
  54. END