home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / perfmon / export.dlg < prev    next >
Encoding:
Text File  |  1994-10-13  |  2.3 KB  |  70 lines

  1. #include "dlgs.h"
  2.  
  3.  
  4.  
  5. #define LeftCol               16
  6. #define RightCol             120
  7. #define ButtonCol1           250
  8.  
  9.  
  10. #define LBS_DISABLENOSCROLL   0x1000L
  11.  
  12.  
  13. idDlgExportOptions DIALOG LOADONCALL MOVEABLE DISCARDABLE
  14. 36, 24,  308, 150
  15. CAPTION "Open"
  16. STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
  17. FONT 8, "MS Sans Serif"
  18. BEGIN
  19.     GROUPBOX        "Export File", -1, 4, 6, 230, 138
  20.  
  21.     LTEXT "File &Name:", stc3,   LeftCol,    16,  76,  9
  22.     CONTROL "", edt1, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER |
  23.             WS_TABSTOP | WS_CHILD | ES_LOWERCASE,
  24.            LeftCol,    26,  90,  12
  25.     CONTROL "", lst1, "listbox",
  26.             LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  27.             | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  28.             | LBS_OWNERDRAWFIXED,
  29.            LeftCol,  42,  90,  68
  30.  
  31.     LTEXT "&Directories:", -1, RightCol,  16,  92,   9
  32.     LTEXT "", stc1, RightCol,  28,  92,   9, SS_NOPREFIX
  33.     CONTROL "", lst2, "listbox",
  34.             LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | LBS_DISABLENOSCROLL
  35.             | WS_VSCROLL | WS_CHILD | WS_BORDER | WS_TABSTOP
  36.             | LBS_OWNERDRAWFIXED,
  37.             RightCol,  42,  92,  68
  38.  
  39.     LTEXT "List Files of &Type:", stc2,LeftCol,  114,  90,   9
  40.     CONTROL "", cmb1, "combobox", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
  41.             WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD,
  42.            LeftCol,  124,  90,  36
  43.  
  44.     LTEXT "Dri&ves:", stc4, RightCol, 114,  92,  9
  45.     CONTROL "", cmb2, "combobox",
  46.             CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | CBS_DROPDOWNLIST
  47.             | WS_CHILD | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL
  48.             | WS_TABSTOP,
  49.             RightCol, 124,  92, 68
  50.  
  51.     GROUPBOX "Column Delimiter", IDD_EXPORTDELIMITERTEXT,
  52.           240, 104, 64, 40
  53.     CONTROL "T&ab", IDD_EXPORTTAB, "Button", BS_RADIOBUTTON,
  54.            245,  118,  50,  10
  55.     CONTROL "&Comma", IDD_EXPORTCOMMAS, "Button", BS_RADIOBUTTON,
  56.            245,  131,  50,  10
  57.  
  58.     DEFPUSHBUTTON "OK", IDOK,      ButtonCol1,  6,  50,  14, WS_GROUP
  59.     PUSHBUTTON "Cancel",IDCANCEL,  ButtonCol1,  24,  50,  14, WS_GROUP
  60.     PUSHBUTTON "Net&work", psh14,   ButtonCol1,  52,  50,  14, WS_GROUP
  61.     PUSHBUTTON "&Help", IDD_EXPORTHELP, ButtonCol1, 70, 50, 14, WS_GROUP
  62.  
  63.  
  64. END
  65.  
  66.  
  67.  
  68. 
  69. 
  70.