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.

20 lines
1.3 KiB

  1. #include "attrun.h"
  2. iddSafeOpen DIALOGEX DISCARDABLE 0, 0, 247, 160
  3. STYLE DS_MODALFRAME|WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU
  4. CAPTION "Open Attachment Warning"
  5. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  6. BEGIN
  7. ICON IDI_QUESTION,IDC_SAFEOPEN_ICON,7,8,18,20
  8. LTEXT "Opening:\n%s", IDC_SAFEOPEN_EXPL, 38,8,197,25,SS_NOPREFIX
  9. CONTROL "",-1,"Static",SS_ETCHEDHORZ,38,38,197,1
  10. LTEXT "Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source.", -1,
  11. 38,42, 197,33,SS_NOPREFIX
  12. LTEXT "What would you like to do with this file?", -1, 38,76,197,8,SS_NOPREFIX
  13. CONTROL "O&pen it", IDC_SAFEOPEN_AUTOOPEN, "Button", BS_AUTORADIOBUTTON|WS_GROUP, 38,88,144,10
  14. CONTROL "&Save it to disk", IDC_SAFEOPEN_AUTOSAVE, "Button", BS_AUTORADIOBUTTON , 38,98,144,10
  15. CONTROL "Al&ways ask before opening this type of file", IDC_SAFEOPEN_ALWAYS,"Button", BS_AUTOCHECKBOX | WS_TABSTOP | WS_GROUP, 38,118,197,10
  16. PUSHBUTTON "OK", IDOK, 136,138,50,14
  17. PUSHBUTTON "Cancel",IDCANCEL, 190,138,50,14
  18. CONTROL "",IDC_STATIC,"NativeFontCtl",NFS_ALL,0,0,0,0
  19. END