• 로그인 함 해보끄나?

  • Sarangnamu.net June 17, 2003
    Home Login Profile Study Open Project Q&A Google Code
    CListCtrl Freeze column
    Last Modify : 27 December, 2010(11:42)
    1. Subclass 한 CHeaderCtrlEx를 생성
    // m_header : CHeaderCtrlEx member variable 
    void CListCtrlEx::PreSubclassWindow()
    {
    	//use our custom CHeaderCtrl as long as there
    	//is a headerctrl object to subclass
    	if (GetHeaderCtrl())
    	{
    		m_header.SubclassWindow(GetHeaderCtrl()->m_hWnd);
    	}
    
    	CListCtrl::PreSubclassWindow();
    }
    
    2. LButtonDown Event capture
    void CHeaderCtrlEx::OnLButtonDown(UINT nFlags, CPoint point)
    {
    	return;
    }

    Comment


    입력하3 1498665077



    Locations of visitors to this page