User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

    The Header Control




    When the list view control is in the report it usually displays a header control to label the columns. Often times we need to get hold of the header control. This header control is a child window of the list view control and always has the ID 0.
    CHeaderCtrl* pHeader =(CHeaderCtrl*)m_listctrl.GetDlgItem(0);
    The header control exists even if the list view is not in the report mode. When the list view mode is other that the LVS_REPORT, the dimensions of the header control is zero.
     

    Comments:


    IT Offers


    Top Authors