Esempio n. 1
0
 /// <summary>
 /// Sets the image list for the TreeView to the system image list.
 /// </summary>
 /// <param name="tvwHandle">The window handle of the TreeView control</param>
 public static void SetTVImageList(IntPtr tvwHandle)
 {
     InitImageList();
     ShellAPI.SendMessage(tvwHandle, TVM_SETIMAGELIST, TVSIL_NORMAL, m_pImgHandle);
 }