InitDialogBar.h

C:\home\SVGCats_src\src\InitDialogBar.h

[型・クラス・構造体 | マクロ]

型・クラス・構造体一覧

マクロ一覧


   1|////////////////////////////////////////////////////////////////////// 
   2|//
   3|// InitDialogBar.h: interface for the CInitDialogBar class.
   4|//
   5|//   by http://www.codeguru.com/dialog/dialogbar_init_ddx.shtml
   6|//      http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q143/2/55.asp&NoWebContent=1
   7|//
   8|//////////////////////////////////////////////////////////////////////
   9|
  10|#if !defined(AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_)
  11|
  12|#define AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_
  13|
  14|#if _MSC_VER >= 1000
  15|#pragma once
  16|#endif // _MSC_VER >= 1000
  17|
  18|////////////////////////////////////////////////////////////////////////////
  19|//
  20|// CInitDialogBar window
  21|//
  22|////////////////////////////////////////////////////////////////////////////
  23|
  24|class CInitDialogBar : public CDialogBar
  25|{
  26|	DECLARE_DYNAMIC(CInitDialogBar)
  27|
  28|	// Construction / Destruction
  29|	public:
  30|	CInitDialogBar();
  31|	virtual ~CInitDialogBar();
  32|
  33|	// Attributes
  34|	public:
  35|        CSize m_sizeDocked;
  36|        CSize m_sizeFloating;
  37|        BOOL m_bChangeDockedSize;   // Indicates whether to keep
  38|                                    // a default size for docking
  39|
  40|	// Operations
  41|	public:
  42|
  43|	// Overrides
  44|	// ClassWizard generated virtual function overrides
  45|	//{{AFX_VIRTUAL(CInitDialogBar)
  46|	protected:
  47|	virtual void DoDataExchange(CDataExchange* pDX);
  48|	//}}AFX_VIRTUAL
  49|  virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode );
  50|
  51|	// Implementation
  52|	public:
  53|  BOOL Create( CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle,
  54|               UINT nID, BOOL = TRUE);
  55|  BOOL Create( CWnd* pParentWnd, LPCTSTR lpszTemplateName,
  56|               UINT nStyle, UINT nID, BOOL = TRUE);
  57|
  58|	protected:
  59|	virtual BOOL OnInitDialogBar();
  60|
  61|	// Generated message map functions
  62|	protected:
  63|	//{{AFX_MSG(CInitDialogBar)
  64|	// NOTE - the ClassWizard will add and remove member functions	here.
  65|	//}}AFX_MSG
  66|	DECLARE_MESSAGE_MAP()
  67|};
  68|
  69|/////////////////////////////////////////////////////////////////////////////
  70|
  71|#endif // !defined(AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_)
  72|
  73| 
  74|