Archives

Archives / 2004 / August
  • Fix for the RichTextBox Undo Information Lost When Retrieving Text

    namespace TextUndoBuffer { /// <summary> /// Work around for KB 812943, The RichEdit Control Undo /// Information May Be Lost When the Control Retrieves Text. /// </summary> public class RichTextBoxEx : RichTextBox { [DllImport("user32.dll", EntryPoint="SendMessage", CharSet=CharSet.Auto )] static extern int SendMessage(IntPtr hWnd, int msg,

ref GETTEXTEX wParam, System.Text.StringBuilder lParam); [DllImport("user32.dll", EntryPoint="SendMessage", CharSet=CharSet.Auto )] static extern int SendMessage(IntPtr hWnd, int msg,
ref GETTEXTLENGTHEX wParam, int lParam);

  • First blog from the author of NetSpell

    Hello Everyone.  I decided I'd join the bandwagon and start bloging.   This blog will be mostly about software development in the .net framework.  Over the years I've come up with some interesting ideas and solutions. I hope share them though this medium.