AnnoIsMenuItemChecked

#include “BiAnno.h”

BOOL CALLBACK AnnoIsMenuItemChecked ( LPVOID            pMenu,
DWORD   dwItem,
BOOL&    bChecked )

Description

This function gets 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

This is an output parameter. If bChecked is TRUE, the menu item is 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 AnnoCheckMenuItem for more information.

Code Example

None