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
    3
    Views
    548

    Re: Directshow - Previewing Video

    Thanks Addy!
  2. Replies
    2
    Views
    190

    Re: Ignoring unknown option /LIBPATH:dir

    Thanks, I got it. :)
  3. Replies
    2
    Views
    190

    Ignoring unknown option /LIBPATH:dir

    On MSDN it says /LIBPATH:dir is the switch to add additional lib path.

    In the cl.exe --help there is no such a switch.

    And when I use /LIBPATH:C: I get D9002 'Ignoring unknown option' error.
    ...
  4. Replies
    3
    Views
    548

    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
    ...
  5. Replies
    11
    Views
    510

    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!
  6. Replies
    11
    Views
    510

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

    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...
  8. Replies
    11
    Views
    510

    Re: Clicking treeview item

    NM_CLICK = left click
  9. Replies
    11
    Views
    510

    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?
    ...
  10. Replies
    11
    Views
    510

    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...
  11. Replies
    1
    Views
    312

    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?
    ...
  12. Replies
    2
    Views
    314

    Re: Convert DDX_Control(mfc) to WinAPI

    OK, so I can drop it, thanks Igor!
  13. Replies
    2
    Views
    314

    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...
  14. Replies
    4
    Views
    298

    Re: Circular dependencies

    Thanks.

    Merry Christmas!
  15. Replies
    4
    Views
    298

    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__
  16. Replies
    4
    Views
    298

    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...
  17. Replies
    7
    Views
    560

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

    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.
  19. Replies
    7
    Views
    560

    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.
    ...
  20. Replies
    7
    Views
    560

    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...
  21. Replies
    7
    Views
    560

    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;...
  22. Replies
    6
    Views
    402

    Re: ListView extended styles not showing

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

    Re: ListView extended styles not showing

    LVS_EX_FULLROWSELECT and LVS_EX_BORDERSELECT is working.
  24. Replies
    6
    Views
    402

    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>
  25. Replies
    2
    Views
    309

    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 ...
Results 1 to 25 of 289
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