Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorWindow::IsKeyBoardEnabled

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.