Doc Err: SelInfo() Has 36 Options, WDK Lists Only 32 |
Q113286
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.
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.
"Microsoft Word Developer's Kit," pages 667-70
Microsoft Word 6.0 for Windows Help, "WordBasic Programming Language"
topic, "SellInfo()" function
Additional query words: 6.00a macros functions wdk word6 macword 6.0.1 winword
Keywords : kbofficeprog
Issue type :
Technology :
|
Last Reviewed: March 28, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |