[Closed] CXTPTabClientWnd Context Menus |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Posted: 17 August 2006 at 3:31am |
I want to add support for context menus by overriding
void CXTPTabClientWnd::CSingleWorkspace::OnRButtonDown(). How do I do this? I don't know the syntax to use ! Here's what I have so far: class CMyXTPTabClientWnd : public CXTPTabClientWnd { // Construction public: CMyXTPTabClientWnd(); void OnFillBackground(CDC* pDC, CRect rc); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyXTPTabClientWnd) //}}AFX_VIRTUAL // Implementation public: virtual ~CMyXTPTabClientWnd(); // Generated message map functions protected: //{{AFX_MSG(CMyXTPTabClientWnd) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG protected: DECLARE_MESSAGE_MAP() }; |
|
Simon HB9DRV
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
See Samples\ToolkitPro\MDITabWindow and its
LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Thanks - just what I'm after. |
|
Simon HB9DRV
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |