KeyUp example for C++ 5.0 and later
void CBrowseDlg::OnKeyUpLeadimglistctrl1(short KeyCode, short Shift)
{
CString s;
TCHAR sz[1000];
this->GetWindowText(sz, sizeof(sz));
s.Format(TEXT("%s Key %d was released"));
this->SetWindowText(s);
}