CB32 1.2 sources
This commit is contained in:
parent
cf25bc7627
commit
fd87f89a19
100 changed files with 14543 additions and 0 deletions
67
MyHeaderCtrl.h
Normal file
67
MyHeaderCtrl.h
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
#if !defined(AFX_MYHEADERCTRL_H__51B74620_2173_11D1_AF55_000000000000__INCLUDED_)
|
||||
#define AFX_MYHEADERCTRL_H__51B74620_2173_11D1_AF55_000000000000__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
// MyHeaderCtrl.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CMyHeaderCtrl window
|
||||
|
||||
class CMyHeaderCtrl : public CHeaderCtrl
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CMyHeaderCtrl();
|
||||
CMyHeaderCtrl(CWnd* pWnd, void (CWnd::*fpDragCol)(int, int));
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CMyHeaderCtrl)
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~CMyHeaderCtrl();
|
||||
void SetCallback(CWnd* pWnd, void (CWnd::*fpDragCol)(int, int));
|
||||
int SetSortImage(int nCol, BOOL bAsc);
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
BOOL m_bCheckForDrag;
|
||||
BOOL m_bDragging;
|
||||
int *m_pWidth;
|
||||
int m_nDragCol;
|
||||
int m_nDropPos;
|
||||
CRect marker_rect;
|
||||
CRect marker_rect2;
|
||||
void (CWnd::*m_fpDragCol)(int, int);
|
||||
CWnd *m_pOwnerWnd;
|
||||
|
||||
int m_nSortCol;
|
||||
BOOL m_bSortAsc;
|
||||
|
||||
//{{AFX_MSG(CMyHeaderCtrl)
|
||||
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
|
||||
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
||||
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
||||
afx_msg void DrawItem (LPDRAWITEMSTRUCT);
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_MYHEADERCTRL_H__51B74620_2173_11D1_AF55_000000000000__INCLUDED_)
|
||||
Reference in a new issue