#include “BiAnno.h”
BOOL CALLBACK AnnoSetMenuItemName ( LPVOID pMenu,
DWORD dwItem,
LPCTSTR pMenuName)
Description
This function sets the name 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. |
|
LPCTSTR |
pMenuName |
Name of the menu item. The maximum length of this parameter is 64 characters. |
Additional Information
This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.
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 AnnoGetMenuItemName for more information.
Code Example
None