Click here to Skip to main content
15,894,740 members
Articles / Desktop Programming / MFC

Extending WndTabs - The WndTabs SDK

Rate me:
Please Sign up or sign in to vote.
4.56/5 (5 votes)
4 Apr 20019 min read 71.1K   664   13  
Make the WndTabs tabs work for you - with this powerful API.
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich, and is bound by the  */
/* MIT open source license (www.opensource.org/licenses/mit-license.html). */
/* See License.txt for more information.                                   */
/***************************************************************************/

// CmdCtxDlg.h : header file
//

#if !defined(AFX_CMDCTXDLG_H__E870A73D_74A5_43CF_9218_A587E1B675D3__INCLUDED_)
#define AFX_CMDCTXDLG_H__E870A73D_74A5_43CF_9218_A587E1B675D3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

struct WTSDK_CommandContext;

/////////////////////////////////////////////////////////////////////////////
// CCmdCtxDlg dialog

class CCmdCtxDlg : public CDialog
{
// Construction
public:
	CCmdCtxDlg(const WTSDK_CommandContext *pCtx, CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CCmdCtxDlg)
	enum { IDD = IDD_CMDCTX };
	CString	m_sActiveWnd;
	CString	m_sHasDoc;
	CString	m_sHasFile;
	CString	m_sHWND;
	CString	m_sIsGroupCmd;
	CString	m_sTextWnd;
	CString	m_sFileName;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCmdCtxDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCmdCtxDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnGroupinfo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

    const WTSDK_CommandContext *m_pCtx;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CMDCTXDLG_H__E870A73D_74A5_43CF_9218_A587E1B675D3__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Experion
Canada Canada
You may know Oz from his WndTabs days. Oz has long since left client side development to work on web technologies and to consult in the R&D management field.

Comments and Discussions