#include “BiAnno.h”
BOOL CALLBACK AnnoCheckMenuItem ( LPVOID pMenu,
DWORD dwItem,
BOOL bChecked )
Description
This function sets the state of the menu item in the user defined pop-up menu.
Parameters
|
LPVOID |
pMenu |
Pointer to the custom menu |
|
DWORD |
dwItem |
Index of the menu item in the menu. This is a zero basid integer. |
|
BOOL |
bChecked |
If this parameter is TRUE, the menu item will be checked, otherwise unchecked. |
Return value
TRUE on success, otherwise FALSE. If any error occurs, you can call the AnnoGetLastError function for the last error code.
Programming Notes
See AnnoIsMenuItemChecked for more information.
Code Example
None