Structure NMCUSTOMSPLITRECTINFO (commctrl.h)

Contient des informations sur les deux rectangles d’un bouton fractionné. Envoyé avec la notification NM_GETCUSTOMSPLITRECT .

Syntaxe

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

Membres

hdr

Type : NMHDR

Structure NMHDR qui contient des informations sur la notification.

rcClient

Type : RECT

Structure RECT qui décrit la zone cliente occupée par le bouton.

rcButton

Type : RECT

Structure RECT qui décrit le rectangle qui ne contient pas la flèche déroulante.

rcSplit

Type : RECT

Structure RECT qui décrit le rectangle qui contient la flèche déroulante.

Notes

Ces informations sont utilisées pour dessiner le bouton. Le bouton doit être de style BS_SPLITBUTTON ou BS_DEFSPLITBUTTON

Configuration requise

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
En-tête commctrl.h