i want to make insert key mode as ON state thru programatically, is any API function there ?

tks for advance
kartheeee...