#include “BiAnno.h”
BOOL CALLBACK AnnoEnableMenuItem ( LPVOID pMenu,
DWORD dwItem,
BOOL bEnable )
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 |
bEnable |
If this parameter is TRUE, the menu item will be enabled, otherwise disabled. |
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 AnnoIsMenuItemEnabled for more information.
Code Example
None