Hi Matrixlnmi169,
you're a lifesaver! Thank you so much for the code you posted. I was having a really hard time translating the vk_processkey on the moto blackjack 1. Your code set me in the right direction!
Take care and thanks!
Brady
Matrixlnmi169 wrote:
case VK_PROCESSKEY :
{
UINT VkCode = ImmGetVirtualKey(hWnd);
if (VkCode == VK_PROCESSKEY)
{
HIMC hImc = ImmGetContext(hWnd);
if (hImc)
{
PINPUTCONTEXT pContext = ImmLockIMC(hImc);
if (pContext)
{
VkCode = pContext->uSavedVKey;
if(VK_F1==VkCode ||VK_F2==VkCode)
{
SendMessage(hParent, message, VkCode, lParam);
}
ImmUnlockIMC(hImc);
}
ImmReleaseContext(hWnd, hImc);
}
}
}
break;
If there is IME i s enable you can use above code in listwndproc.
If there is no IME concpet related then while creating the list window
probably some attibutes o f window need to change , if this code has been ported from wince to window mobile.
good luck
Matrixlnmi