Share

AcDbHostApplicationServices::getKeyState Method

C++

virtual ACDBCORE2D_PORT short getKeyState(
    int nVirtKey
) const;

Description

Host apps that run on Windows should override this method by calling the ::GetKeyState() Win32 API. By default, it just returns 0.

Parameters

Parameters Description
nVirtKey Input virt key.

Remarks

If your host app is going to run on a different platform, then you'll need to call the equivalent API for that platform.

Links

AcDbHostApplicationServices

Was this information helpful?