doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CTabsDlg Class Reference

#include <TabsDlg.h>

Inheritance diagram for CTabsDlg:
CInspectorDialog

Classes

struct  DockedWindowInfo
 

Public Types

typedef void(* pfnOnDockEvent )(bool, int, CWnd *)
 

Public Member Functions

 CTabsDlg (UINT ID, CWnd *pParent=NULL)
 
void AddDockedWindow (CWnd *wnd, int ID, int imageID, const CString &title, bool dock, pfnOnDockEvent dockCallback=NULL)
 
void DockWindow (int ID, bool dock)
 
bool RectWithinDockManager (CRect &rect)
 
void FocusWindow (int ID)
 
void SetImageList (CImageList *list)
 
bool IsDocked (CWnd *wnd)
 
afx_msg void OnTcnSelchange (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg void OnDestroy ()
 
void SaveWindowPlacement (int ID=-1)
 

Public Attributes

CTabCtrl m_Tabs
 

Protected Member Functions

int PreTranslateMessage (MSG *msg)
 
void DoDataExchange (CDataExchange *pDX)
 
void ShowAllWindows (bool show=true)
 
void HandleUndock ()
 
void UpdateTabControlIndices ()
 
virtual BOOL OnInitDialog ()
 

Protected Attributes

CImageList m_TabImages
 
CPoint m_DragDownPoint
 
CMapWordToPtr m_Windows
 
bool m_DragTabActive
 

Detailed Description

Definition at line 35 of file TabsDlg.h.

Member Typedef Documentation

typedef void(* CTabsDlg::pfnOnDockEvent)(bool, int, CWnd *)

Definition at line 43 of file TabsDlg.h.

Constructor & Destructor Documentation

CTabsDlg::CTabsDlg ( UINT  ID,
CWnd *  pParent = NULL 
)

Definition at line 37 of file TabsDlg.cpp.

Member Function Documentation

void CTabsDlg::AddDockedWindow ( CWnd *  wnd,
int  ID,
int  imageID,
const CString &  title,
bool  dock,
pfnOnDockEvent  dockCallback = NULL 
)

Definition at line 226 of file TabsDlg.cpp.

void CTabsDlg::DockWindow ( int  ID,
bool  dock 
)

Definition at line 87 of file TabsDlg.cpp.

void CTabsDlg::DoDataExchange ( CDataExchange *  pDX)
protected

Definition at line 52 of file TabsDlg.cpp.

void CTabsDlg::FocusWindow ( int  ID)

Definition at line 258 of file TabsDlg.cpp.

void CTabsDlg::HandleUndock ( )
protected

Definition at line 205 of file TabsDlg.cpp.

bool CTabsDlg::IsDocked ( CWnd *  wnd)

Definition at line 314 of file TabsDlg.cpp.

void CTabsDlg::OnDestroy ( )

Definition at line 295 of file TabsDlg.cpp.

BOOL CTabsDlg::OnInitDialog ( )
protectedvirtual

Reimplemented in CInspectorDialog.

Definition at line 60 of file TabsDlg.cpp.

void CTabsDlg::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)

Definition at line 189 of file TabsDlg.cpp.

void CTabsDlg::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)

Definition at line 194 of file TabsDlg.cpp.

void CTabsDlg::OnMouseMove ( UINT  nFlags,
CPoint  point 
)

Definition at line 220 of file TabsDlg.cpp.

void CTabsDlg::OnTcnSelchange ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)

Definition at line 67 of file TabsDlg.cpp.

int CTabsDlg::PreTranslateMessage ( MSG *  msg)
protected

Definition at line 158 of file TabsDlg.cpp.

bool CTabsDlg::RectWithinDockManager ( CRect &  rect)

Definition at line 179 of file TabsDlg.cpp.

void CTabsDlg::SaveWindowPlacement ( int  ID = -1)

Definition at line 335 of file TabsDlg.cpp.

void CTabsDlg::SetImageList ( CImageList *  list)
inline

Definition at line 49 of file TabsDlg.h.

void CTabsDlg::ShowAllWindows ( bool  show = true)
protected

Definition at line 242 of file TabsDlg.cpp.

void CTabsDlg::UpdateTabControlIndices ( )
protected

Definition at line 276 of file TabsDlg.cpp.

Member Data Documentation

CPoint CTabsDlg::m_DragDownPoint
protected

Definition at line 63 of file TabsDlg.h.

bool CTabsDlg::m_DragTabActive
protected

Definition at line 65 of file TabsDlg.h.

CImageList CTabsDlg::m_TabImages
protected

Definition at line 62 of file TabsDlg.h.

CTabCtrl CTabsDlg::m_Tabs

Definition at line 111 of file TabsDlg.h.

CMapWordToPtr CTabsDlg::m_Windows
protected

Definition at line 64 of file TabsDlg.h.


The documentation for this class was generated from the following files: