NMCUSTOMSPLITRECTINFO structure (commctrl.h)

Contains information about the two rectangles of a split button. Sent with the NM_GETCUSTOMSPLITRECT notification.

Syntax

typedef struct tagNMCUSTOMSPLITRECTINFO {
  NMHDR hdr;
  RECT  rcClient;
  RECT  rcButton;
  RECT  rcSplit;
} NMCUSTOMSPLITRECTINFO, *LPNMCUSTOMSPLITRECTINFO;

Members

hdr

Type: NMHDR

An NMHDR structure that contains information about the notification.

rcClient

Type: RECT

A RECT structure that describes the client area the button occupies.

rcButton

Type: RECT

A RECT structure that describes the rectangle that does not contain the drop-down arrow.

rcSplit

Type: RECT

A RECT structure that describes the rectangle that contains the drop-down arrow.

Remarks

This information is used to draw the button. The button must be of style BS_SPLITBUTTON or BS_DEFSPLITBUTTON

Requirements

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