The information in this article applies to:
SYMPTOMSThe Sendmessage API function call will fail to give expected results for some messages when the API Text Viewer declaration is used. For example, the messages "WM_SETTEXT" and "LVM_SCROLL" will fail without returning any error values. CAUSESome messages expect the lParam to be passed as ByVal, while the API Text Viewer declaration passes lParam as ByRef. RESOLUTIONThe declaration can be manually changed after copying the declaration. STATUSThis behavior is by design. MORE INFORMATION
When a message expects the lParam as string, then the Sendmessage
declaration must be changed to pass lParam as ByVal. Additionally, some
messages require integer values to be passed as ByVal. Because the
requirements for messages vary, it is necessary to check the documentation
for each message for details.
Steps to Reproduce Behavior
Additional query words: kbDSupport kbDSD kbVBp500 kbVBp kbAPI kbSDKWin32 kbVBp600
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |