[ROOT] --> small

class COldToolBar
    extends CControlBar as public

Author:
unascribed

Version:
unknown

Source:
TOOLBAR.H:26

Nested Classes, Structs and Unions:
DrawState [protected]

Constructors Index

COldToolBar
[public]
~COldToolBar
[public]


Variables Index

m_cxSharedBorder
[protected]
m_cySharedBorder
[protected]
m_hbmImageWell
[protected]
m_hInstImageWell
[protected]
m_hRsrcImageWell
[protected]
m_iButtonCapture
[protected]
m_sizeButton
[protected]
m_sizeImage
[protected]


Methods Index

_GetButtonPtr
[protected]
CalcFixedLayout
[public]
CommandToIndex
[public]
Create
[public]
CreateMask
[protected]
DoPaint
[protected]
DrawButton
[protected]
EndDrawButton
[protected]
GetButtonInfo
[public]
GetButtonStyle
[public]
GetItemID
[public]
GetItemRect
[public]
HitTest
[protected]
InvalidateButton
[protected]
LoadBitmap
[public]
LoadBitmap
[public]
OnCancelMode
[protected]
OnLButtonDown
[protected]
OnLButtonUp
[protected]
OnMouseMove
[protected]
OnSysColorChange
[protected]
OnToolHitTest
[protected]
OnUpdateCmdUI
[protected]
PrepareDrawButton
[protected]
SetButtonInfo
[public]
SetButtons
[public]
SetButtonStyle
[public]
SetHeight
[public]
SetSizes
[public]
UpdateButton
[protected]


Constructors

COldToolBar

public COldToolBar ( ) ;

COldToolBar

public virtual ~ COldToolBar ( ) ;


Variables

m_sizeButton

protected CSize m_sizeButton

m_sizeImage

protected CSize m_sizeImage

m_cxSharedBorder

protected int m_cxSharedBorder

m_cySharedBorder

protected int m_cySharedBorder

m_hbmImageWell

protected HBITMAP m_hbmImageWell

m_iButtonCapture

protected int m_iButtonCapture

m_hRsrcImageWell

protected HRSRC m_hRsrcImageWell

m_hInstImageWell

protected HINSTANCE m_hInstImageWell


Methods

Create

public BOOL Create ( CWnd * pParentWnd ,
                     DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP ,
                     UINT nID = AFX_IDW_TOOLBAR ) ;

SetSizes

public void SetSizes ( SIZE sizeButton ,
                       SIZE sizeImage ) ;

SetHeight

public void SetHeight ( int cyHeight ) ;

LoadBitmap

public BOOL LoadBitmap ( LPCTSTR lpszResourceName ) ;

LoadBitmap

public BOOL LoadBitmap ( UINT nIDResource ) ;

SetButtons

public BOOL SetButtons ( const UINT * lpIDArray ,
                         int nIDCount ) ;

CommandToIndex

public int CommandToIndex ( UINT nIDFind ) const ;

GetItemID

public UINT GetItemID ( int nIndex ) const ;

GetItemRect

public virtual void GetItemRect ( int nIndex ,
                                  LPRECT lpRect ) const ;

GetButtonStyle

public UINT GetButtonStyle ( int nIndex ) const ;

SetButtonStyle

public void SetButtonStyle ( int nIndex ,
                             UINT nStyle ) ;

GetButtonInfo

public void GetButtonInfo ( int nIndex ,
                            UINT & nID ,
                            UINT & nStyle ,
                            int & iImage ) const ;

SetButtonInfo

public void SetButtonInfo ( int nIndex ,
                            UINT nID ,
                            UINT nStyle ,
                            int iImage ) ;

CalcFixedLayout

public virtual CSize CalcFixedLayout ( BOOL bStretch ,
                                       BOOL bHorz ) ;

_GetButtonPtr

protected inline AFX_TBBUTTON * _GetButtonPtr ( int nIndex ) const ;

InvalidateButton

protected void InvalidateButton ( int nIndex ) ;

UpdateButton

protected void UpdateButton ( int nIndex ) ;

CreateMask

protected void CreateMask ( int iImage ,
                            CPoint offset ,
                            BOOL bHilite ,
                            BOOL bHiliteShadow ) ;

PrepareDrawButton

protected BOOL PrepareDrawButton ( DrawState & ds ) ;

DrawButton

protected BOOL DrawButton ( CDC * pDC ,
                            int x ,
                            int y ,
                            int iImage ,
                            UINT nStyle ) ;

EndDrawButton

protected void EndDrawButton ( DrawState & ds ) ;

DoPaint

protected virtual void DoPaint ( CDC * pDC ) ;

OnUpdateCmdUI

protected virtual void OnUpdateCmdUI ( CFrameWnd * pTarget ,
                                       BOOL bDisableIfNoHndler ) ;

HitTest

protected virtual int HitTest ( CPoint point ) ;

OnToolHitTest

protected virtual int OnToolHitTest ( CPoint point ,
                                      TOOLINFO * pTI ) const ;

OnLButtonDown

protected afx_msg void OnLButtonDown ( UINT nFlags ,
                                       CPoint point ) ;

OnMouseMove

protected afx_msg void OnMouseMove ( UINT nFlags ,
                                     CPoint point ) ;

OnLButtonUp

protected afx_msg void OnLButtonUp ( UINT nFlags ,
                                     CPoint point ) ;

OnCancelMode

protected afx_msg void OnCancelMode ( ) ;

OnSysColorChange

protected afx_msg void OnSysColorChange ( ) ;


This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.