Insert/Overwrite mode
How can I detect the state or mode of the Insert key?
Whether the current state is Insert or Overwrite?
(VB 2005)
How can I detect the state or mode of the Insert key?
Whether the current state is Insert or Overwrite?
(VB 2005)
Various functions for getting the status of various keyboard states and the Local time on the machine
My.Computer.Keyboard.NumLock
My.Computer.Keyboard.CapsLock
My.Computer.Keyboard.ScrollLock
and the following should get you the insert key status
Private
DeclareFunction GetKeyState Lib"user32" (ByVal nVirtKey AsInteger) AsInteger' Get the current state of the Insert key / Overstrike
Function GetInsertKey() AsBoolean
GetInsertKey = GetKeyState(VBKeyInsert)
EndFunction