有TVN_SELCHANGED,有没有实现单击的参数TVN_CLICK??

解决方案 »

  1.   

    NM_CLICK (tree view)
    NM_CLICK 
        lpnmh = (LPNMHDR) lParam; Notifies a tree view control's parent window that the user has clicked the left mouse button within the control. This notification is sent in the form of a WM_NOTIFY message. Return nonzero to prevent the default processing, or zero to allow the default processing. 
    lpnmh 
    Address of an NMHDR structure that contains additional information about this notification message.