The information in this article applies to:
SYMPTOMS
Sending a WM_GETTEXT message to a non-text static control, such as a static bitmap or static icon control, does not return a string value. CAUSEThe behavior of non-text-mode static controls (for example, SS_BITMAP, SS_ICON, and so forth, styles are set) was changed in Windows 2000 so that WM_GETTEXT does not return a string. In addition, WM_GETTEXTLENGTH also returns zero for these types of controls. STATUSThis behavior is by design. MORE INFORMATION
In earlier versions of Windows and Windows NT, applications send a WM_GETTEXT message to a non-text static control to retrieve the control's ID. Additional query words: WM_GETTEXT WM_GETTEXTLENGTH GetWindowText GetWindowTextLength static control
Keywords : kbWinOS2000 kbSDKPlatform kbStaticCtrl kbGrpUser |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |