LVectorWindow::IsKeyBoardEnabled

#include "ltwrappr.h"

L_BOOL LVectorWindow::IsKeyBoardEnabled(L_VOID)

Determines whether keyboard processing is enabled or disabled.

Returns

TRUE

Keyboard processing is enabled.

FALSE

Keyboard processing is disabled.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LVectorWindow::EnableKeyBoard, Class Members

Example

Toggles (enable/disable) the keyboard

Assumes pVectorWindow points to a valid LVectorWindow object

L_INT LVectorWindow__IsKeyBoardEnabledExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
   pVectorWindow->EnableKeyBoard( !pVectorWindow->IsKeyBoardEnabled());
   if (pVectorWindow->IsKeyBoardEnabled())
      SetWindowText(hWndParent, TEXT("Keyboard Enabled"));
   else
      SetWindowText(hWndParent, TEXT("Keyboard Disabled"));
   return SUCCESS;
}