BUG: Text Copy/Paste from InfoViewer Loses LayoutLast reviewed: July 21, 1997Article ID: Q167414 |
The information in this article applies to:
SYMPTOMSWhen you cut-and-paste operations from a topic window in the InfoViewer, the text does not match the original. It contains extra white space, new lines, and, sometimes, other characters. For example, a table does not retain a table-like layout when copied to a text file or Microsoft Excel spreadsheet.
CAUSEInternet Explorer's translation of the underlying HTML text adds extra white space for many HTML tags.
RESOLUTIONThe white space must be removed manually.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe problem is most noticeable when you try to copy formatted information, such as a table. In HTML, this is represented by a stream of tags, and not in a two dimensional layout. For example, in the online help contents open the following page:
Platform, SDK, and DDK Documentation Platform SDK Reference Functions Win32 Functions ScreenSaverConfigureDialog to SetCursor ScrollDCIn the online help text the ScrollDC function prototype looks like:
BOOL ScrollDC( HDC hDC, // handle of device context int dx, // horizontal scroll units int dy, // vertical scroll units CONST RECT *lprcScroll, // address of structure for scrolling rectangle CONST RECT *lprcClip, // address of structure for clipping rectangle HRGN hrgnUpdate, // handle of scrolling region LPRECT lprcUpdate // address of structure for update rectangle );This text will look like this when copied to a text file:
BOOL ScrollDC( HDC hDC, // handle of device context int dx, // horizontal scroll units int dy, // vertical scroll units CONST RECT *lprcScroll, // address of structure for scrolling rectangle CONST RECT *lprcClip, // address of structure for clipping rectangle HRGN hrgnUpdate, // handle of scrolling region LPRECT lprcUpdate // address of structure for update rectangle ); |
Keywords : vcbuglist500 VSInfoView VSMSDN
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |