home *** CD-ROM | disk | FTP | other *** search
/ distrib.akp.su/Programming/Vb-6+Rus/ / distrib.akp.su.tar / distrib.akp.su / Programming / Vb-6+Rus / COMMON / MSDEV98 / BIN / AUTOEXP.DAT next >
Text File  |  1998-05-05  |  5KB  |  132 lines

  1. ; AutoExp.Dat - templates for automaticially expanding data
  2. ; Copyright(c) 1997 Microsoft Corporation. All Rights Reserved.
  3. ;---------------------------------------------------------------
  4. ;
  5. ; While debugging, Data Tips and items in the Watch and Variable
  6. ; windows are automatically expanded to show their most important
  7. ; elements. The expansion follows the format given by the rules
  8. ; in this file. You can add rules for your types or change the
  9. ; predefined rules.
  10. ;
  11. ; For good examples, read the rules in this file.
  12. ;
  13. ; To find what the debugger considers the type of a variable to
  14. ; be, add it to the Watch window and right-click and select
  15. ; Properties.
  16. ;
  17. ; An AutoExpand rule is a line with the name of a type, an equals 
  18. ; sign, and text with replaceable parts in angle brackets. The 
  19. ; part in angle brackets names a member of the type and an 
  20. ; optional Watch format specifier.
  21. ;
  22. ; AutoExpand rules use the following syntax. The equals sign (=), 
  23. ; angle brackets (<>), and comma are taken literally. Square
  24. ; brackets ([]) indicate optional items.
  25. ;
  26. ; type=[text]<member[,format]>...
  27. ;
  28. ; type      Name of the type (may be followed by <*> for template
  29. ;           types such as the ATL types listed below).
  30. ;
  31. ; text      Any text.Usually the name of the member to display, 
  32. ;           or a shorthand name for the member.
  33. ;
  34. ; member    Name of a member to display.
  35. ;
  36. ; format    Watch format specifier. One of the following:
  37. ;
  38. ;   Letter  Description                 Sample         Display
  39. ;   ------  --------------------------  ------------   -------------
  40. ;   d,i     Signed decimal integer      0xF000F065,d   -268373915
  41. ;   u       Unsigned decimal integer    0x0065,u       101
  42. ;   o       Unsigned octal integer      0xF065,o       0170145
  43. ;   x,X     Hexadecimal integer         61541,X        0X0000F065
  44. ;   l,h     long or short prefix for    00406042,hx    0x0c22
  45. ;             d, i, u, o, x, X
  46. ;   f       Signed floating-point       3./2.,f        1.500000
  47. ;   e       Signed scientific-notation  3./2.,e        1.500000e+000
  48. ;   g       Shorter of e and f          3./2.,g        1.5
  49. ;   c       Single character            0x0065,c       'e'
  50. ;   s       Zero-terminated string      0x0012fde8,s   "Hello world"
  51. ;   su      Unicode string              0x007200c4,su  "Hello world"
  52. ;   st      String in ANSI or Unicode depending on current setting
  53. ;
  54. ; The special format <,t> specifies the name of the most-derived 
  55. ; type of the object. This is especially useful with pointers or
  56. ; references to a base class.
  57. ;
  58. ; If there is no rule for a class, the base classes are checked for
  59. ; a matching rule.
  60. ;
  61. ; -------
  62. ; Unicode
  63. ; -------
  64. ;
  65. ; If your application is built for Unicode, you'll want Unicode 
  66. ; strings to automatically expand as text, rather than arrays of 
  67. ; unsigned short.  To automatically display Unicode strings as 
  68. ; text, go to Tools/Options/Debug tab and check 'Display Unicode
  69. ; strings'.
  70. ;
  71. ;---------------------------------------------------------------
  72. [AutoExpand]
  73.  
  74. ; from windef.h
  75. tagPOINT =x=<x> y=<y>
  76. tagRECT =top=<top> bottom=<bottom> left=<left> right=<right>
  77.  
  78. ; from winuser.h
  79. tagMSG =msg=<message,x> wp=<wParam,x> lp=<lParam,x>
  80.  
  81. ; from afxwin.h
  82. CDC =hDC=<m_hDC> attrib=<m_hAttribDC>
  83. CPaintDC =<,t> hWnd=<m_hWnd>
  84. CPoint =x=<x> y=<y>
  85. CRect =top=<top> bottom=<bottom> left=<left> right=<right>
  86. CSize =cx=<cx> cy=<cy>
  87. CWnd =<,t> hWnd=<m_hWnd>
  88. CWinApp =<,t> <m_pszAppName,s>
  89. CWinThread =<,t> h=<m_hThread> proc=<m_pfnThreadProc>
  90.  
  91. ; from afxcoll.h
  92. CPtrList =cnt=<m_nCount>
  93.  
  94. ; from afxstat_.h
  95. CProcessLocalObject =<,t>
  96. CThreadLocalObject =<,t>
  97.  
  98. ; from afx.h
  99. CArchiveException =cause=<m_cause>
  100. CFile =hFile=<m_hFile> name=<m_strFileName.m_pchData,s>
  101. CFileException =cause=<m_cause> OS Error=m_lOsError
  102. CMemFile =pos=<m_nPosition> size=<m_nFileSize>
  103. CObject =<,t>
  104. CRuntimeClass =<m_lpszClassName,s>
  105. CStdioFile =FILE*=<m_pStream> name=<m_strFilename.m_pchData,s>
  106. CString =<m_pchData,st>
  107. CTimeSpan =time=<m_time>
  108. CTime =time=<m_time>
  109.  
  110. ; from afxcoll.h
  111. CByteArray =count=<m_nCount>
  112. CStringList =count=<m_nCount>
  113. ; same for all CXXXArray classes
  114. ; same for CXXXList
  115. ; same for CMapXXToXX
  116.  
  117. ; new for VC98
  118. _com_error=<m_hresult,hr>
  119. _bstr_t=<m_Data->m_wstr,su> (<m_Data->m_RefCount,u>)
  120. _com_ptr_t<*>=<m_pInterface>
  121. _LARGE_INTEGER=<QuadPart>
  122. ATL::CComPtr<*>=<p>
  123. ATL::CComBSTR=<m_str,su>
  124. ATL::CComQIPtr<*>=<p>
  125. std::basic_string<*>=<_Ptr>
  126.  
  127. ; new for VC98 using built-ins
  128. tagVARIANT=$BUILTIN(VARIANT)
  129. VARIANT=$BUILTIN(VARIANT)
  130. _GUID=$BUILTIN(GUID)
  131.  
  132.