BOOL CxxxDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
// the way to make a tree multi-selected
if(pMsg->message == WM_LBUTTONDOWN)
{ // for win98 and win2000
if((GetKeyState(VK_CONTROL) & 0x8000) || (GetKeyState(VK_SHIFT) & 0x8000))
{
CPoint pt=pMsg->pt; ScreenToClient(&pt); // convert to client
MapWindowPoints((CWnd*)&m_Tree,&pt, 1); // convert to tree