The CheckMenuRadioItem function checks a specified menu item and makes it a radio item. At the same time, the function unchecks all other menu items in the associated group and clears the radio-item type flag for those items.
BOOL CheckMenuRadioItem(
HMENU hmenu, | |
UINT idFirst, | |
UINT idLast, | |
UINT idCheck, | |
UINT uFlags | |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, use the GetLastError function.
The CheckMenuRadioItem function sets the MFT_RADIOCHECK type flag and the MFS_CHECKED state for the item specified by idCheck and, at the same time, clears both flags for all other items in the group. The checked item is displayed using a bullet bitmap instead of a check-mark bitmap.
For more information about menu item type and state flags, see the MENUITEMINFO structure.
file: /Techref/os/win/api/win32/func/src/f05_6.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/12/4 03:35,
3.21.248.59:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/api/win32/func/src/f05_6.htm"> CheckMenuRadioItem</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.