HOWTO: Determine If Text in a Text Box Can Be UndoneLast reviewed: July 15, 1997Article ID: Q160974 |
The information in this article applies to:
SUMMARYThis article shows, by example, how to determine at any given time if the text entered into a text box can be undone.
MORE INFORMATIONBy using the Windows API SendMessage(), you can send an EM_CANUNDO message to a TextBox control to determine whether an operation on it can be undone; that is, whether the control can respond to the EM_UNDO message. If the TextBox control can correctly process the EM_UNDO message, the return value from SendMessage() is True; otherwise, it is False.
Step-by-Step Example
Keywords : vb5all vb5howto VBKBCtrl VBKBInt VBKBStd VBKBTextBox kbusage kbhowto Version : 5.00 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |