Click here to Skip to main content
15,896,606 members

Comments by Nikhil Sisodia (Top 3 by date)

Nikhil Sisodia 7-Oct-13 3:14am View    
Thanks Garth J Lancaster for your input!

I got your view on format of the string as CRYPT_STRING_BASE64.
In this case, what format shall I be using? Is it ok to use CRYPT_STRING_ANY

Also, length i am passing to this API is including the NULL char, whereas MSDN says
(http://msdn.microsoft.com/en-us/library/windows/desktop/aa380285(v=vs.85).aspx)
cchString [in]
The number of characters of the formatted string to be converted, not including the terminating NULL character.

But in my case though I am passing length including the NULL char, the first pszInput input string returns true.
Is the usage of length parameter in my API correct?

Thanks
Niks
Nikhil Sisodia 13-Apr-11 23:18pm View    
No, the link is not much helpful with my need.(link shows how to display a single item :( )
Is there any other way you can suggest to implement multiple icons?
Nikhil Sisodia 13-Apr-11 0:54am View    
Sorry i missed one ....
m_cTree.SetImageList( &(m_cTree.m_imageState), TVSIL_NORMAL );

I am setting Imagelist to treeview before inserting the items to tree.