summaryrefslogtreecommitdiff
path: root/include/m_message.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-19 21:15:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-19 21:19:25 +0300
commitd34945e300b00e33d79c54b5b1e2acd005394a13 (patch)
tree052fc702b191f5330d437875205ddd7137daa865 /include/m_message.h
parentbdad617254c066569de2f64e072615fe8d2c94ef (diff)
fixes #1004 (Blank buttons toolbar after reset)
Diffstat (limited to 'include/m_message.h')
-rw-r--r--include/m_message.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/m_message.h b/include/m_message.h
index b2bbf34070..e1dfd41ed7 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -320,10 +320,10 @@ struct CustomButtonData : public MZeroedObject
DWORD m_dwPosition; // default order pos of button, counted from window edge (left or right)
- DWORD m_dwButtonOrigID; // id of button used while button creation and to store button info in DB
- ptrA m_pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm")
+ DWORD m_dwButtonID; // id of button used while button creation and to store button info in DB
+ ptrA m_pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm")
- DWORD m_dwButtonCID;
+ DWORD m_dwButtonCID; // button's control id
DWORD m_dwArrowCID; // only use with BBBF_ISARROWBUTTON flag
ptrW m_pwszText; // button's text
@@ -337,6 +337,7 @@ struct CustomButtonData : public MZeroedObject
bool m_bRSided;
BYTE m_opFlags;
int m_hLangpack;
+ DWORD m_dwOrigPosition;
struct THotkeyItem *m_hotkey;
};