为什么我利用这个添加的树项无法显示状态图象.

解决方案 »

  1.   

    INDEXTOSTATEIMAGEMASK
    Prepares the index of a state image so that a tree view control or list view control can use the index to retrieve the state image for an item. UINT INDEXTOSTATEIMAGEMASK(
        UINT i
       );Parameters

    Index of a state image. 
    Res
    The INDEXTOSTATEIMAGEMASK macro is defined as follows: #define INDEXTOSTATEIMAGEMASK(i) ((i) << 12) 
      

  2.   

    准备好一个可供tree或者ListCtrl在其item上使用得image
      

  3.   

    为什么这个要使用的Image并排画在一个位图中,而不能单独是一个位图?