#define _CRTDBG_MAP_ALLOC
should be before all the header files.
#include CRTDBG.H should be after all the header files.
e.g
#define _CRTDBG_MAP_ALLOC
Type: Posts; User: SoLoMoN BaNdA
#define _CRTDBG_MAP_ALLOC
should be before all the header files.
#include CRTDBG.H should be after all the header files.
e.g
#define _CRTDBG_MAP_ALLOC
You should define
#define _CRTDBG_MAP_ALLOC
also check if there is the
#include <crtdbg.h>
line.
Yes. that is how you should add the item, because for that you have to send all the information about that item.
But in this case, since you want info rather than send info, you do not have to set...
Try the following.
char gbff[300];
DWORD dwValue;
HTREEITEM htree;
htree=(HTREEITEM)SendMessage(theTreeViewControlHandle,TVM_GETNEXTITEM,(WPARAM)TVGN_ROOT,(LPARAM)htree);...