NMMOUSE structure (commctrl.h)

Contains information used with mouse notification messages.

Syntax

typedef struct tagNMMOUSE {
  NMHDR     hdr;
  DWORD_PTR dwItemSpec;
  DWORD_PTR dwItemData;
  POINT     pt;
  LPARAM    dwHitInfo;
} NMMOUSE, *LPNMMOUSE;

Members

hdr

Type: NMHDR

An NMHDR structure that contains additional information about this notification.

dwItemSpec

Type: DWORD_PTR

A control-specific item identifier.

dwItemData

Type: DWORD_PTR

A control-specific item data.

pt

Type: POINT

A POINT structure that contains the client coordinates of the mouse when the click occurred.

dwHitInfo

Type: LPARAM

Carries information about where on the item or control the cursor is pointing.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h