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.

45 lines
1.3 KiB

  1. //-----------------------------------------------------------------------------
  2. // This is a part of the Microsoft Source Code Samples.
  3. // Copyright (C) 1993 Microsoft Corporation.
  4. // All rights reserved.
  5. //
  6. // This source code is only intended as a supplement to
  7. // Microsoft Development Tools and/or WinHelp documentation.
  8. // See these sources for detailed information regarding the
  9. // Microsoft samples programs.
  10. //-----------------------------------------------------------------------------
  11. #include "windows.h"
  12. #include "appwin.h"
  13. OleTestMenu MENU
  14. BEGIN
  15. POPUP "&File"
  16. BEGIN
  17. MENUITEM "&Save", IDM_SAVE
  18. MENUITEM "&Exit", IDM_EXIT
  19. END
  20. POPUP "&Edit"
  21. BEGIN
  22. MENUITEM "&Copy", IDM_COPY
  23. END
  24. POPUP "&Run"
  25. BEGIN
  26. MENUITEM SEPARATOR
  27. END
  28. END
  29. IDD_ASSERTIONFAILURE DIALOG DISCARDABLE 0, 0, 185, 92
  30. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  31. CAPTION "OleTest -- Assertion Failure"
  32. FONT 8, "MS Shell Dlg"
  33. BEGIN
  34. PUSHBUTTON "&Abort Test",IDABORT,10,67,45,18
  35. PUSHBUTTON "&Break",IDB_BREAK,67,67,45,18
  36. PUSHBUTTON "&Ignore",IDIGNORE,124,67,45,18
  37. EDITTEXT IDC_EDIT,11,9,161,46,ES_MULTILINE | ES_AUTOHSCROLL |
  38. ES_READONLY
  39. END