LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorWindow > LVectorWindow Class Members > 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: |
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; }