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 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    69

    Directshow - Previewing Video

    I'm following this MSDN tutorial to preview video from my webcam.

    https://msdn.microsoft.com/en-us/library/windows/desktop/dd377468(v=vs.85).aspx

    I wrote the code but it's crashing on
    ...
  2. Replies
    11
    Views
    409

    Re: Clicking treeview item

    Yes, TreeView_HitTest is the way to go. There is even a pointer to the item clicked: lpht.hItem.

    Thank you very much for both of you! :)

    Happy New Year!
  3. Replies
    11
    Views
    409

    Re: Clicking treeview item

    I would like to use this solution as it seems to be the simplest but the problem is that you wont get TVN_SELCHANGED message if you click the same item again since the item is still selected.
  4. Replies
    11
    Views
    409

    Re: Clicking treeview item

    Yes, I thought about that solution but the problem is that NM_CLICK detects any click anywhere in the treeview not only on the items.

    How to know if the user clicked on the same item and not just...
  5. Replies
    11
    Views
    409

    Re: Clicking treeview item

    NM_CLICK = left click
  6. Replies
    11
    Views
    409

    Re: Clicking treeview item

    That's right, that makes sense. Thank you Kaud!

    So is there a message for an item clicked whether it changed or not?
    ...
  7. Replies
    11
    Views
    409

    Clicking treeview item

    Hi,

    I want to get a notification when I click again the same treeview item and also want to get the item's name again.

    I get the notification but my GetTextItemTree() function not returning...
  8. Replies
    1
    Views
    265

    ISampleGrabber

    I have this code that uses the ISampleGrabber interface.

    When I look up the methods of ISampleGrabber I cannot find the CoCreateInstance method?

    Why is that?
    ...
  9. Replies
    2
    Views
    263

    Re: Convert DDX_Control(mfc) to WinAPI

    OK, so I can drop it, thanks Igor!
  10. Replies
    2
    Views
    263

    Convert DDX_Control(mfc) to WinAPI

    I am converting an MFC program to a Win32 program.

    I got stuck at the DDX_Control function.

    How to convert the DDX_Control function to a WinAPI function?


    void...
  11. Replies
    4
    Views
    256

    Re: Circular dependencies

    Thanks.

    Merry Christmas!
  12. Replies
    4
    Views
    256

    Re: Circular dependencies

    Great explanation, thanks!

    I have crossbar.h and these declarations in it. Should it be in caps?




    #ifndef __Crossbar_h__
    #define __Crossbar_h__
  13. Replies
    4
    Views
    256

    Circular dependencies

    I'm trying to compile the Directshow example amcap without the MSVC IDE and I think I have a circular dependency problem.

    I looked it up on Wikipedia but I dont know what 'A_H' means and what is...
  14. Replies
    7
    Views
    482

    Re: CGenericList

    It is a Microsoft sample program called 'amcap' and these are the definitions that MS put in the file:


    #if _MSC_VER > 1000
    #pragma once
    #endif // _MSC_VER > 1000


    #define _WIN32_WINNT...
  15. Replies
    7
    Views
    482

    Re: CGenericList

    I found it.

    The CGenericList class is defined in wxlist.h which is included in streams.h.

    But I have no idea why the compiler does not see it.
  16. Replies
    7
    Views
    482

    Re: CGenericList

    Unfortunately I get the same error if I create a project too.

    Doesnt matter, at least you assured me that it should work if I include the file so I will search somewhere else for the problem.
    ...
  17. Replies
    7
    Views
    482

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

    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;...
  19. Replies
    6
    Views
    362

    Re: ListView extended styles not showing

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

    Re: ListView extended styles not showing

    LVS_EX_FULLROWSELECT and LVS_EX_BORDERSELECT is working.
  21. Replies
    6
    Views
    362

    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>
  22. Replies
    2
    Views
    258

    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 ...
  23. Replies
    11
    Views
    610

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

    Re: Tvm_getitem

    Ah, OK, I get it now. :)
  25. Replies
    24
    Views
    845

    Re: Tvm_getitem

    They said that:


    And you said:
Results 1 to 25 of 286
Page 1 of 12 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