Right after your processing code for VK_LEFT/VK_RIGHT of WM_KEYDOWN message.