NMPGHOTITEM structure

Contains information used with the PGN_HOTITEMCHANGE notification code.

Syntax


typedef struct NMPGHOTITEM {
  NMHDR hdr;
  int   idOld;
  int   idNew;
  DWORD dwFlags;
} NMPGHOTITEM, *LPNMPGHOTITEM;

Members

hdr

Type: NMHDR

NMHDR structure that contains additional information about the notification.

idOld

Type: int

Value of type int that specifies the command identifier of the previously highlighted item.

idNew

Type: int

Value of type int that specifies the command identifier of the highlighted item.

dwFlags

Type: DWORD

DWORD that contains flags that indicate why the hot item has changed. This can be one or more of the following values.

ValueMeaning
HICF_ENTERING

If this flag is set, there is no previous hot item and idOld does not contain valid information.

HICF_LEAVING

If this flag is set, there is no new hot item and idNew does not contain valid information.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: