Sent when the user presses a key while the ImageList Control has the focus.
idCtrl = (L_INT) LOWORD(wParam) identifier of control.
wNotifyCode = HIWORD(wParam) notification code.
pKeyInfo = (pLILKEYDOWN) lParam pointer to key info structure.
Sent when the user presses a key while the ImageList Control has the focus. pKeyInfo contains information about the key that was pressed.
The parent window of the control receives this notification message through the WM_COMMAND message.
This function processes all the messages for a window.
L_SIZE_T MainWndProc6(HWND hWnd, L_UINT Message, WPARAM wParam,
LPARAM lParam)
{
WORD wNotifyCode;
L_INT idCtl;
HWND hWndCtrl;
switch (Message)
{
case WM_SETFOCUS:
if(hWnd)
SetFocus(hWnd);
break;
case WM_COMMAND:
wNotifyCode = HIWORD(wParam); // notification code
idCtl = LOWORD(wParam); // item, control, or accelerator identifier
hWndCtrl = (HWND) lParam; // handle of control
switch(idCtl)
{
case IDC_LEADIMAGELIST:
switch(wNotifyCode)
{
/* other code here */
case L_ILN_KEYDOWN:
MessageBox(hWnd, TEXT("KeyPress"), TEXT("KeyPress"), MB_OK);
break;
/* other code here */
}
break;
/* other code here */
}
break;
/* other code here */
}
return DefWindowProc (hWnd, Message, wParam, lParam);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.