[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Edit controls now start in insert mode.

  Edit controls are in insert mode when they are created and when the
focus is set to them. This is consistent with the behavior of edit controls
in Microsoft Windows.
  If you don't like this behavior, you can modify the MEWEL source code.
In the file WINEDIT.C, remove the following lines :

  /* about line 212 */
  case WM_SETFOCUS   :
    b->fFlags |= (STATE_INSERT | STATE_HASFOCUS); <- delete "STATE_INSERT |"

  /* about line 2456 in EditBufferCreate() */
  b->fFlags = STATE_INSERT;   <- delete this line

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson