Can anyone help me how to use On/off using registerhotkey?
RegisterHotKey(NULL, 1, MOD_NOREPEAT, 0x14);
MSG msg = { 0 };
while (GetMessage(&msg, NULL, 0, 0) != 0)
{
if (msg.message == WM_HOTKEY)
{
if (msg.wParam == 1)
{
void MaeGetKey(UINT vk_key);
{
this one is always on
RegisterHotKey(NULL, 1, MOD_NOREPEAT, 0x14);
MSG msg = { 0 };
while (GetMessage(&msg, NULL, 0, 0) != 0)
{
if (msg.message == WM_HOTKEY)
{
if (msg.wParam == 1)
{
void MaeGetKey(UINT vk_key);
{
this one is always on