Exporter (0) Imprimer
Développer tout
MFC
Développer Réduire

CWnd::ValidateRgn

Validates the client area within the given region by removing the region from the current update region of the window.


void ValidateRgn(
   CRgn* pRgn 
);

pRgn

A pointer to a CRgn object that identifies a region that defines the area to be removed from the update region. If this parameter is NULL, the entire client area is removed.

The given region must have been created previously by a region function. The region coordinates are assumed to be client coordinates.

The BeginPaint member function automatically validates the entire client area. Neither the ValidateRect nor the ValidateRgn member function should be called if a portion of the update region must be validated before the next WM_PAINT message is generated.

Header: afxwin.h

Ajouts de la communauté

AJOUTER
Microsoft réalise une enquête en ligne pour recueillir votre opinion sur le site Web de MSDN. Si vous choisissez d’y participer, cette enquête en ligne vous sera présentée lorsque vous quitterez le site Web de MSDN.

Si vous souhaitez y participer,
Afficher:
© 2014 Microsoft