windows_programming_notes.nbk: Home | Index | Next Page: OffsetRect | Previous Page: NMHDR
 NMITEMACTIVATE
Contains information about an LVN_ITEMACTIVATE notification message. 
    typedef struct tagNMITEMACTIVATE{
        NMHDR   hdr;
        int     iItem;
        int     iSubItem;
        UINT    uNewState;
        UINT    uOldState;
        UINT    uChanged;
        POINT   ptAction;
        LPARAM  lParam;
        UINT    uKeyFlags;
    } NMITEMACTIVATE, FAR *LPNMITEMACTIVATE;
Members
-  hdr 
 
NMHDR structure that contains information about this notification message. 
-  iItem 
 
Index of the list-view item. If the item index is not used for the notification, this member will contain -1. 
-  iSubItem 
 
One-based index of the subitem. If the subitem index is not used for the notification or the notification does not apply to a subitem, this member will contain zero. 
-  uNewState 
 
New item state. This member is zero for notification messages that do not use it. 
-  uOldState 
 
Old item state. This member is zero for notification messages that do not use it. 
-  uChanged 
 
Set of flags that indicate the item attributes that have changed. This member is zero for notifications that do not use it. Otherwise, it can have the same values as the mask member of the LVITEM structure. 
-  ptAction 
 
POINT structure that indicates the location at which the event occurred. This member is undefined for notification messages that do not use it. 
-  lParam 
 
Application-defined value of the item. This member is undefined for notification messages that do not use it. 
-  uKeyFlags 
 
Modifier keys that were pressed at the time of the activation. This
 member contains zero or a combination of the following flags: 
    LVKF_ALT  The ALT key is pressed.  
    LVKF_CONTROL  The CTRL key is pressed.  
    LVKF_SHIFT  The SHIFT key is pressed.
windows_programming_notes.nbk: Home | Index | Next Page: OffsetRect | Previous Page: NMHDR
Notebook exported on Monday,  7 July 2008, 18:56:50 PM Eastern Daylight Time