Type: Posts; User: MasterDucky
Search took 0.01 seconds.
I cant post 9 files that would clutter up the place here so I verified if I change streams.h to some non existant file name i get an error "file not found".
So it means that the...
I have streams.h included before crossbar.h but I still get this error that means that CGenericList class is not defined.
On this line:
typedef CGenericList<CRouting> CRoutingList;...
December 12th, 2014, 12:38 PM
You're right Victor, my theme was the problem! :)
December 12th, 2014, 12:01 PM
LVS_EX_FULLROWSELECT and LVS_EX_BORDERSELECT is working.
December 12th, 2014, 11:29 AM
The gridlines are not appearing on my ListView.
What did I miss?
December 11th, 2014, 02:58 PM
MSDN says for the third parameter:
Well it's not one-based at all. In order to set the first item I need to set it to zero and not to one.
column_1 | column_2
December 4th, 2014, 10:37 AM
I verified the three images are loading and I assigned different images to iImage and iSelectedImage.
Actually it doesn't even matter what number I assign (4,5 non existing...
December 4th, 2014, 07:46 AM
December 3rd, 2014, 02:06 PM
They said that:
And you said:
December 3rd, 2014, 12:39 PM
December 3rd, 2014, 12:38 PM
Thanks Kaud, now I understand and it's working!
December 3rd, 2014, 12:10 PM
First it says:
So that means that the itemNew member is not valid.
December 3rd, 2014, 10:53 AM
if(((LPNMHDR)lParam)->code == NM_CLICK)
LPNMTREEVIEW nmtv = (LPNMTREEVIEW) lParam;
TVITEM item = nmtv->itemNew;
cout << " text: " << nmtv->itemNew.pszText <<...
December 3rd, 2014, 10:44 AM
That is what it had to be. :)
December 3rd, 2014, 08:06 AM
TVN_SELCHANGED, that was it, thanks Victor! :)
December 3rd, 2014, 07:59 AM
I just left it there didn't think it mattered thought it would return the string until the \n character. :)
December 3rd, 2014, 07:15 AM
My treeview titles are never longer than 64 so I didnt think that would matter.
Good catch I should have checked upon this. Thanks.
But after changing these two things I still have the same...
December 3rd, 2014, 07:10 AM
December 3rd, 2014, 07:07 AM
Yep, it's their way or the highway. :)
December 2nd, 2014, 12:13 PM
When I click the treeview item I get the name of the item that I clicked previously and not the one Im clicking on the present time.
What am I doing wrong?
HTREEITEM Selected =...
December 2nd, 2014, 12:09 PM
December 2nd, 2014, 11:52 AM
You're completely right, thank you Igor.
And where can I find this code cause I didnt find it in commctrl.h.
December 2nd, 2014, 11:48 AM
Thanks for the explanation that clears it up.
OK, then I will go one step at the time. Right now I just want it to change image when it's selected.
This must be built in because I have another...
December 2nd, 2014, 03:09 AM
Well it wouldn't hurt if they were a bit more clear about it, would it?
Cause maybe they teach this rule in school but not every programmer who writes Windows programs goes to programming school.
December 1st, 2014, 02:38 PM
I have three icons loaded and verified: 1 closed folder, 1 opened folder and a file icon.
Only the closed folder icon getting displayed even in the place of the other two.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.