文本框撤消/重做命令 [英] TextBox Undo/Redo commands
本文介绍了文本框撤消/重做命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
WinForms 文本框有撤消"命令但没有重做"命令 - 为什么?
The WinForms TextBox has an 'Undo' command but has not a 'Redo' command - Why?
推荐答案
因为作为 TextBox 基础的本机 Windows 编辑控件具有 WM_UNDO 但没有 WM_REDO.它有很多怪癖,可以追溯到 Windows 1.0 和无数的应用程序兼容补丁.
Because the native Windows Edit control, the base for TextBox, has WM_UNDO but not WM_REDO. It has lots of quirks, dating back from Windows 1.0 and a gazillion app compat patches.
这篇关于文本框撤消/重做命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文