TXTHOOK.DLL

Simulates 'ES_NOHIDESEL' for VB Textbox plus set caret bitmap and overstrike.

Author: Jeff Simms - CIS 72200,3173  

Date: September 7, 1992 - Ver 1.0


***YOU MUST CALL SETTEXTHOOK() FIRST***

1) To start the 'no hide selected feature' call SetTextHook():

   Call SetTextHook(Text1hWnd%, hWnd)

   with the handle to the textbox and the form as arguments.

2) To start 'overstrike' mode call TextOverstrike():

   Call TextOverstrike(TRUE)

   with a boolean switch as the argument.

3) To set a bitmap as the caret call CaretBitmap():

   Call CaretBitmap(hbitmap)

   with the handle to a bitmap (from LoadBitmap() - see ex. in demo)

4) To unhook the textbox you call UndoTextHook():

   Call UndoTextHook(0)
   
   with zero as argument. ***This call will disable the textbox.***
   It can be reenabled with SetTextHook(). This is not by design. This
   is what happens!

**** USE AT OWN RISK *****

