void CBCGPPopupMenu::SetMaxWidth | ( | int | iMaxWidth | ) |
Sets the maximum width, in pixels, for a popup menu bar.
Call this function to set the maximum width for the popup menu bar.
If a menu item's text doesn't fit the new width, it is clipped and the rest of the text is replaced by three dots.
iMaxWidth | The maximum popup menu bar width to be set. |