Print Page | Close Window

[Closed] CXTPTabClientWnd Context Menus

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4817
Printed Date: 21 December 2024 at 9:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Closed] CXTPTabClientWnd Context Menus
Posted By: Simon HB9DRV
Subject: [Closed] CXTPTabClientWnd Context Menus
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: Simon HB9DRV
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net