## BUG: EM_CANUNDO Returns Zero After EM_REPLACESEL

Q111648

The information in this article applies to:

- Microsoft Windows Software Development Kit (SDK) 3.1

## SYMPTOMS

EM_CANUNDO returns 0 (zero) after text in an edit control has been set or replaced using EM_REPLACESEL. EM_CANUNDO should return nonzero, and EM_UNDO should undo the change.

## STATUS

Microsoft has confirmed this to be a bug in Windows versions 3.1.

Additional query words:

Keywords : kb16bitonly kbCtrl kbEditCtrl kbGrpDSUser kbOSWin310bug
Issue type : kbbug
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310

Last Reviewed: November 6, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use.