CS3: Unable to show Icon in TreeViewWidget


hi all,

 

i want show system icon's in front of treeview node.(ex. if node contains folder folder icon should displayed or if node contains file default application icon should displayed). if add icon placed in resource folder working fine.

 

i tried with,

 

shfileinfo info;

 

::shgetfileinfo(fullpath, 0, &icon, sizeof (info), shgfi_icon | shgfi_smallicon | shgfi_shelliconsize )

 

iconview->setrsrcid((rsrcid) info.hicon);

 

but not working. please help.

 

thanks,

praveen a. mamdge

i believe can done creating own custom view of icon.  take @ e.g. pnltrvcustomview starting point.

 

ian



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???