Click here to Skip to main content
15,880,405 members
Articles / Mobile Apps

Window Tabs (WndTabs) Add-In for DevStudio

Rate me:
Please Sign up or sign in to vote.
5.00/5 (37 votes)
11 Jul 2002 364.7K   7.3K   94  
Window and File Management add-in for Visual C++
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich.  All non-commercial  */
/* use is allowed, as long as this document not altered in any way, and    */
/* due credit is given.                                                    */
/***************************************************************************/

#if !defined(AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__INCLUDED_)
#define AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DSWindow.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDSWindow window

class CTabsWindow;

class CDSWindow : public CTabManagerWindow
{
// Construction
public:
    CDSWindow(IGenericWindow *pGWindow, HWND hDSWindow, 
        CTabsWindow *pTabsWnd);

// Attributes
public:
    bool SetManaging(bool bManaging);
    HWND GetSaferHwnd();

// Operations
public:

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CDSWindow)
    //}}AFX_VIRTUAL

// Implementation
public:
    virtual ~CDSWindow();

    // Generated message map functions
protected:

    //{{AFX_MSG(CDSWindow)
    afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
    afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
    DECLARE_MESSAGE_MAP();

    void PostNcDestroy();

    UINT  m_idTimer;
    UINT  m_iTimerCount;
    int   m_cResizeRef;  // reference counting for resize handler
    BOOL  m_bLastZoom;
    SnapOrientations m_LastOrientation;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__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