Microsoft KB Archive/71143

From BetaArchive Wiki

PRB: WM_GETTEXT Documentation Error in SDK Reference Volume 1 ID Number: Q71143

3.00 WINDOWS docerr

Summary:

SYMPTOMS On page 6-64 in the “Windows Software Development Kit Reference Volume 1,” the description of the message WM_GETTEXT is incorrect. The description of the WM_GETTEXT function incorrectly reads:

  For lixt [sic] boxes, the text is the currently selected item.

RESOLUTION/STATUS WM_GETTEXT does not copy the selected text for list boxes. To copy the selected text from a list box, the LB_GETTEXT function should be used instead.

Microsoft has confirmed this to be a documentation error on page 6-64 of the “Windows Software Development Kit Reference Volume 1.” The description will be corrected in a future version of the Windows SDK documentation.