Click here to Skip to main content
15,947,694 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HTREEITEM hItem = InsertItem(_T("Leti:extract"),
I_IMAGECALLBACK,
I_IMAGECALLBACK,
hParentItem,
hInsertAfter);
I dont know why it is returning NULL. the parameters which I am passing is correct.

What I have tried:

I tried the same code was working fine while using mfc120.dll but returning NULL while using mfc140.dll
Posted
Updated 16-Dec-20 22:29pm
Comments
Richard MacCutchan 17-Dec-20 4:43am    
Are you sure your image callback routine is handling the request correctly?

1 solution

The NULL signals that it wasnt sucessful. Consult the Microsoft documentation with sample code how to do it correctly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900