Doc Err: SelInfo() Has 36 Options, WDK Lists Only 32

Last reviewed: August 4, 1997
Article ID: Q113286
6.00 6.00a   | 6.00 6.0.1
WINDOWS kbusage kbmacro

The information in this article applies to:

  • Microsoft Word for Windows, versions 6.0, 6.0a
  • Word for the Macintosh, versions 6.0, 6.0.1

SUMMARY

The "Microsoft Word Developer's Kit" incorrectly states on page 667 that the SelInfo() function can return only 32 types of information on the current selection. As stated (correctly) in Word Help, SelInfo() can actually return 36 types of information.

MORE INFORMATION

The "Microsoft Word Developer's Kit" explains the first 32 types of information available for the SelInfo() function, but it does not mention options 33 through 36.

Options 33 through 36 are described in Help as follows:

   Type  Explanation
   ----  -----------

   33    The kind of header or footer containing the selection:

         -1        None (the selection is not in a header or footer)
         0 (zero)  Even-page header
         1         Odd-page header (or the only header if there are not odd
                   and even headers)
         2         Even-page footer
         3         Odd-page footer (or the only footer if there are not odd
                   and even footers)
         4         First-page header
         5         First-page footer

   34    Returns -1 if the active document is a master document (that is,
         if it contains at least one subdocument).

   35    Returns -1 if the selection is in the footnote pane or in a
         footnote in page layout view.

   36    Same as 35, but for endnotes.

REFERENCES

"Microsoft Word Developer's Kit," pages 667-70

Microsoft Word 6.0 for Windows Help, "WordBasic Programming Language" topic, "SellInfo()" function

Kbcategory: kbusage kbmacro KBSubcategory:


Additional reference words: 6.00 6.00a macros functions wdk word6
macword 6.0.1 winword
Version : 6.00 6.00a | 6.00 6.0.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 4, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.