Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: MasterDucky

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    67

    Re: CGenericList

    That's true.

    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...
  2. Replies
    3
    Views
    67

    CGenericList

    Hello,

    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;...
  3. Replies
    6
    Views
    206

    Re: ListView extended styles not showing

    You're right Victor, my theme was the problem! :)
  4. Replies
    6
    Views
    206

    Re: ListView extended styles not showing

    LVS_EX_FULLROWSELECT and LVS_EX_BORDERSELECT is working.
  5. Replies
    6
    Views
    206

    ListView extended styles not showing

    The gridlines are not appearing on my ListView.

    What did I miss?


    #include <windows.h>
    #include <commctrl.h>

    #include <string>
    #include <iostream>
  6. Replies
    2
    Views
    143

    ListView_SetItemText

    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
    =============
    apple ...
  7. Replies
    11
    Views
    392

    Re: Treeview icon change

    Thanks Reubens!

    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...
  8. Replies
    24
    Views
    527

    Re: Tvm_getitem

    Ah, OK, I get it now. :)
  9. Replies
    24
    Views
    527

    Re: Tvm_getitem

    They said that:


    And you said:
  10. Replies
    24
    Views
    527

    Re: Tvm_getitem

    So they mistyped it.
  11. Replies
    24
    Views
    527

    Re: Tvm_getitem

    Thanks Kaud, now I understand and it's working!
  12. Replies
    24
    Views
    527

    Re: Tvm_getitem

    Its contradictory:

    First it says:

    Then:


    So that means that the itemNew member is not valid.
  13. Replies
    24
    Views
    527

    Re: Tvm_getitem

    Like this?



    if(((LPNMHDR)lParam)->code == NM_CLICK)
    {
    LPNMTREEVIEW nmtv = (LPNMTREEVIEW) lParam;
    TVITEM item = nmtv->itemNew;
    cout << " text: " << nmtv->itemNew.pszText <<...
  14. Replies
    24
    Views
    527

    Re: Tvm_getitem

    That is what it had to be. :)
  15. Replies
    24
    Views
    527

    Re: Tvm_getitem

    TVN_SELCHANGED, that was it, thanks Victor! :)
  16. Replies
    24
    Views
    527

    Re: Tvm_getitem

    I just left it there didn't think it mattered thought it would return the string until the \n character. :)
  17. Replies
    24
    Views
    527

    Re: Tvm_getitem

    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...
  18. Replies
    24
    Views
    527

    Re: Tvm_getitem

    Yes, from WM_NOTIFY.
  19. Replies
    18
    Views
    605

    Re: TreeView_SetImageList error

    Yep, it's their way or the highway. :)
  20. Replies
    24
    Views
    527

    Tvm_getitem

    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 =...
  21. Replies
    18
    Views
    605

    Re: TreeView_SetImageList error

    Got it, thanks Victor!
  22. Replies
    18
    Views
    605

    Re: TreeView_SetImageList error

    You're completely right, thank you Igor.

    And where can I find this code cause I didnt find it in commctrl.h.
  23. Replies
    11
    Views
    392

    Re: Treeview icon change

    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...
  24. Replies
    18
    Views
    605

    Re: TreeView_SetImageList error

    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.
  25. Replies
    11
    Views
    392

    Re: Treeview icon change

    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.
Results 1 to 25 of 270
Page 1 of 11 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center