KeyPress (ILEADRasterImgList) example for C++ 5.0 and later
void CBrowseDlg::OnKeyPressLeadimglistctrl1(short KeyAscii)
{
CString s;
this->GetWindowText(s);
this->SetWindowText(s + TEXT(" Key ") + (TCHAR)KeyAscii + TEXT(" was pressed"));
}