Problem overriding WndProc
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Problem overriding WndProc

  1. #1
    Join Date
    Feb 2001
    Location
    AZ
    Posts
    201

    Problem overriding WndProc

    I have an override for WndProc so I can process messages from DirectShow. When I change ShowInTaskbar to false, WndProc no longer receives any messages. Is there a way to still process messages when ShowInTaskBar = false?

    Thanks in advance.

    Regards,
    Hal
    up·grade (up'gräd'),
    to take out old bugs
    and put in new ones.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: Problem overriding WndProc

    You'd have to trick the WndProc method into thinking that the window is still active.

    Maybe these might help :

    http://stackoverflow.com/questions/8...o-visible-form

    http://social.msdn.microsoft.com/For...d-3e5ad9b338f5

  3. #3
    Join Date
    Feb 2001
    Location
    AZ
    Posts
    201

    Re: Problem overriding WndProc

    Thank you for replying. I will check out these two articles.

    Regards,
    Hal
    up·grade (up'gräd'),
    to take out old bugs
    and put in new ones.

  4. #4
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,953

    Re: Problem overriding WndProc

    DirectShow process directly to memory. Pretty hard to override. (I've tried to overlay on it)
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: Problem overriding WndProc

    Quote Originally Posted by dglienna View Post
    DirectShow process directly to memory. Pretty hard to override. (I've tried to overlay on it)
    OK.... Mind sharing how it can be done?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center