如题。

解决方案 »

  1.   

    看这个:
    NMLVKEYDOWN
    typedef struct tagLVKEYDOWN {
        NMHDR hdr;
        WORD  wVKey;
        UINT  flags;
    } NMLVKEYDOWN, FAR *LPNMLVKEYDOWN;Contains information used in processing the LVN_KEYDOWN notification message. This structure is the same as the LV_KEYDOWN structure but has been renamed to fit standard naming conventions. hdr 
    NMHDR structure that contains additional information about the notification message. 
    wVKey 
    Virtual key code. 
    flags 
    This member must always be zero. =======================================================================================和这个:
    Most notifications pass a pointer to a larger structure that contains an NMHDR structure as its first member. For instance, consider the structure used by the list view control's LVN_KEYDOWN notification message, which is sent when a key is pressed in a list view control. The pointer points to an LV_KEYDOWN structure, which is defined as shown below:typedef struct tagLV_KEYDOWN {
        NMHDR hdr;   
        WORD wVKey;  
        UINT flags;  
    } LV_KEYDOWN;
    Note that since the NMHDR member is first in this structure, the pointer you're passed in the notification message can be cast to either a pointer to an NMHDR or a pointer to an LV_KEYDOWN.========================================================================================
    both were found in msdn