mCtrl  0.11.3
menubar.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2013 Martin Mitas
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; either version 2.1 of the License, or
7  * (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef MCTRL_MENUBAR_H
20 #define MCTRL_MENUBAR_H
21 
22 #include <mCtrl/_defs.h>
23 #include <mCtrl/_common.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
245 
251 
255 void MCTRL_API mcMenubar_Terminate(void);
256 
264 
275 BOOL MCTRL_API mcIsMenubarMessage(HWND hwndMenubar, LPMSG lpMsg);
276 
277 
278 #ifndef DOXYGEN
279 typedef struct tagNMREBARCHEVRON NMREBARCHEVRON;
280 #endif
281 
313 BOOL MCTRL_API mcMenubar_HandleRebarChevronPushed(HWND hwndMenubar,
314  NMREBARCHEVRON* lpRebarChevron);
315 
323 
325 #define MC_WC_MENUBARW L"mCtrl.menubar"
326 
327 #define MC_WC_MENUBARA "mCtrl.menubar"
328 
336 
344 #define MC_MBM_SETMENU (MC_MBM_FIRST + 0)
345 
360 #define MC_MBM_REFRESH (MC_MBM_FIRST + 1)
361 
369 
371 #define MC_WC_MENUBAR MCTRL_NAME_AW(MC_WC_MENUBAR)
372 
376 #ifdef __cplusplus
377 } /* extern "C" */
378 #endif
379 
380 #endif /* MCTRL_MENUBAR_H */
#define MCTRL_API
Definition: _defs.h:46
Common definitions.
Common constants and types.