Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Calculates the vertical and horizontal margins that are required to contain the buttons on the color bar control, and adjusts the location of those buttons.
void ContextToSize(
BOOL bSquareButtons = TRUE,
BOOL bCenterButtons = TRUE
);
Parameters
Parameter |
Description |
|---|---|
[in] bSquareButtons |
TRUE to specify that the shape of the buttons on a color bar control are square; otherwise, FALSE. The default value is TRUE. |
[in] bCenterButtons |
TRUE to specify that the content on the face of a color bar control button is centered; otherwise, FALSE. The default value is TRUE. |
Requirements
Header: afxcolorbar.h