Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the display size for the ribbon element.
virtual void SetCompactMode(
BOOL bCompactMode = TRUE
);
Parameters
- [in] bCompactMode
TRUE to reduce the display size of the ribbon element; FALSE to increase the display size of the ribbon element.
Remarks
The following table summarizes the logic for this method.
bCompactMode |
Current ribbon element size |
New ribbon element size |
|---|---|---|
TRUE |
Compact |
No change. |
TRUE |
Intermediate |
Compact if it is possible. |
TRUE |
Large |
Intermediate if it is possible. |
FALSE |
Compact |
Intermediate if it is possible; otherwise large. |
Requirements
Header: afxbaseribbonelement.h