Some one can provide me a examples with LVCOLUMN to show like LPTSTR like i did with LVITEM or if it is possible how i could get the subitems of this LVCOLUMN..... Thanks in advance..
Yes but i want to get LPTSTR of lvcolumn.
I am trying with this: LVCOLUMN->pszText
And use a message to show it: MessageBoxW(NULL, LVCOLUMN->pszText,LVCOLUMN->pszText, MB_OK);
But show me the follow errors:
$
dllmain.cpp: In function 'LRESULT BSSSendMessageW(HWND, UINT, WPARAM, LPARAM)':
dllmain.cpp:20:29: error: expected primary-expression before '->' token
MessageBoxW(NULL, LVCOLUMN->pszText,LVCOLUMN->pszText, MB_OK);
^~
dllmain.cpp:20:47: error: expected primary-expression before '->' token
MessageBoxW(NULL, LVCOLUMN->pszText,LVCOLUMN->pszText, MB_OK);
Normally with LVITEM not take problems but when i try to get my LVCOLUMN and show it like LPTSTR like i do with LVITEM return me errors. Can you explain why these errors? Thanks in advance.
I can know which column belong to this item¿? Or if not if use VM_INSERTCOLUMNW .. not sure how i can get column information or pszText. Sorry if i didnt explain well..
Maybe will be useful to use ListView_GetColumn but how i can get these values..
in my case i will have LVCOLUMN* the pointer not so it's the same than pcol?