diff options
Diffstat (limited to 'plugins/TabSRMM/src/controls.h')
-rw-r--r-- | plugins/TabSRMM/src/controls.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/plugins/TabSRMM/src/controls.h b/plugins/TabSRMM/src/controls.h index ddf13eee7b..eb9f591df6 100644 --- a/plugins/TabSRMM/src/controls.h +++ b/plugins/TabSRMM/src/controls.h @@ -45,26 +45,26 @@ public: CMenuBar(HWND hwndParent, const TContainerData *pContainer);
~CMenuBar();
- const RECT& TSAPI getClientRect();
- void TSAPI Resize(WORD wWidth, WORD wHeight, BOOL redraw) const
+ const RECT& getClientRect();
+ void Resize(WORD wWidth, WORD wHeight, BOOL redraw) const
{
::SetWindowPos(m_hwndToolbar, 0, 4, 0, wWidth, m_size_y, SWP_NOZORDER | SWP_NOACTIVATE |
SWP_NOCOPYBITS|SWP_NOREDRAW);
}
- LONG TSAPI getHeight() const;
- void TSAPI Show(int showCmd) const
+ LONG getHeight() const;
+ void Show(int showCmd) const
{
::ShowWindow(m_hwndToolbar, showCmd);
}
- LONG_PTR TSAPI Handle(const NMTOOLBAR *nmtb);
- void TSAPI Cancel();
- LONG_PTR TSAPI processMsg(const UINT msg, const WPARAM wParam, const LPARAM lParam);
- bool TSAPI isContactMenu() const { return(m_isContactMenu); }
- bool TSAPI isMainMenu() const { return(m_isMainMenu); }
- void TSAPI configureMenu(void) const;
- void TSAPI resetLP(void);
- void TSAPI setActive(HMENU hMenu)
+ LONG_PTR Handle(const NMTOOLBAR *nmtb);
+ void Cancel();
+ LONG_PTR processMsg(const UINT msg, const WPARAM wParam, const LPARAM lParam);
+ bool isContactMenu() const { return(m_isContactMenu); }
+ bool isMainMenu() const { return(m_isMainMenu); }
+ void configureMenu(void) const;
+ void resetLP(void);
+ void setActive(HMENU hMenu)
{
m_activeSubMenu = hMenu;
}
@@ -80,7 +80,7 @@ public: return(result);
}
- void TSAPI autoShow(const int showcmd = 1);
+ void autoShow(const int showcmd = 1);
const int idToIndex(const int id) const
{
@@ -121,13 +121,13 @@ private: static CMenuBar *m_Owner;
static int m_MimIconRefCount;
private:
- LONG_PTR TSAPI customDrawWorker(NMCUSTOMDRAW *nm);
- void TSAPI updateState(const HMENU hMenu) const;
- void TSAPI invoke(const int id);
- void TSAPI cancel(const int id);
- void TSAPI obtainHook();
- void TSAPI releaseHook();
- void TSAPI checkButtons();
+ LONG_PTR customDrawWorker(NMCUSTOMDRAW *nm);
+ void updateState(const HMENU hMenu) const;
+ void invoke(const int id);
+ void cancel(const int id);
+ void obtainHook();
+ void releaseHook();
+ void checkButtons();
static LRESULT CALLBACK wndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); // subclassing for the toolbar control
static LRESULT CALLBACK MessageHook(int nCode, WPARAM wParam, LPARAM lParam); // message hook (only active when modal menus are active)
|