Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [Closed] CXTPTabClientWnd Context Menus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Closed] CXTPTabClientWnd Context Menus

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: [Closed] CXTPTabClientWnd Context Menus
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2006 at 6:57am
Hi,
See Samples\ToolkitPro\MDITabWindow and its
 
LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2006 at 7:24am
Originally posted by oleg oleg wrote:

Hi,
See Samples\ToolkitPro\MDITabWindow and its
 
LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)
 
 

Thanks - just what I'm after.
Simon HB9DRV
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.