summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_msg_buttonsbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI/m_msg_buttonsbar.h')
-rw-r--r--plugins/ExternalAPI/m_msg_buttonsbar.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/ExternalAPI/m_msg_buttonsbar.h b/plugins/ExternalAPI/m_msg_buttonsbar.h
index 11413d853b..8b73f987a3 100644
--- a/plugins/ExternalAPI/m_msg_buttonsbar.h
+++ b/plugins/ExternalAPI/m_msg_buttonsbar.h
@@ -1,32 +1,4 @@
#ifndef M_MSG_BUTTONSBAR_H__
#define M_MSG_BUTTONSBAR_H__
-////////////////////////////////////////////////////////////////
-//Events
-//
-
-///////////////////////////////////////////////////
-// ButtonClicked event
-// wParam = (HANDLE)hContact;
-// lParam = (CustomButtonClickData *)&CustomButtonClickData;
-// catch to show a popup menu, etc.
-#define ME_MSG_BUTTONPRESSED "TabSRMM/ButtonsBar/ButtonPressed"
-
-
-// event flags
-#define BBCF_RIGHTBUTTON (1<<0)
-#define BBCF_SHIFTPRESSED (1<<1)
-#define BBCF_CONTROLPRESSED (1<<2)
-#define BBCF_ARROWCLICKED (1<<3)
-
-typedef struct {
- int cbSize;
- POINT pt; // screen coordinates for menus
- char* pszModule; // button owners name
- DWORD dwButtonId; // registered button ID
- HWND hwndFrom; // button parents HWND
- MCONTACT hContact;
- DWORD flags; // BBCF_ flags
-} CustomButtonClickData;
-
#endif //M_MSG_BUTTONSBAR_H__ \ No newline at end of file