BoldItemfunction
Changes the text of a menu item to bold.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION BoldItem (BYVAL hMenu AS HMENU, BYVAL item AS LONG) AS BOOLEAN
Also documented as
SetItemBold — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
hMenu | Handle to the menu that contains the menu item. | |
item | The identifier or position of the menu item to get information about. |
Return value
Returns TRUE if the function succeeds; FALSE otherwise.
Description
Changes the text of a menu item to bold.
Remarks
The application must call the CMenu.DrawBar method whenever a menu changes, whether or not the menu is in a displayed window. BoldItem and SetItemBold do this call internally.
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus