From be489c4e6f4c1ab4b4d7f84e35a73e34e1b0b331 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Jun 2015 23:34:47 +0000 Subject: - Menu_EnableItem & Menu_SetChecked - more suitable helpers to set flags; - fix for checks in frame menus; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14389 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_clist.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/m_clist.h') diff --git a/include/m_clist.h b/include/m_clist.h index f2d104a6bd..9362080589 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -179,6 +179,16 @@ EXTERN_C MIR_APP_DLL(int) Menu_ModifyItem(HGENMENU hMenuItem, const TCHAR *ptszN EXTERN_C MIR_APP_DLL(void) Menu_ShowItem(HGENMENU hMenuItem, bool bShow); +///////////////////////////////////////////////////////////////////////////////////////// +// enables or disables a menu item + +EXTERN_C MIR_APP_DLL(void) Menu_EnableItem(HGENMENU hMenuItem, bool bEnable); + +///////////////////////////////////////////////////////////////////////////////////////// +// turns a menu item's check on & off + +EXTERN_C MIR_APP_DLL(void) Menu_SetChecked(HGENMENU hMenuItem, bool bSet); + //the context menu for a contact is about to be built v0.1.0.1+ //wParam = (MCONTACT)hContact //lParam = 0 -- cgit v1.2.3