Results 1 to 3 of 3

Thread: Unless you are Bill Gates, you probably can't help...

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2000
    Posts
    352

    Exclamation Unless you are Bill Gates, you probably can't help...

    New Info:
    Wh_shell only listens; it is incapable of responding. I need to use wh_cbt along with the HCBT_CreateWnd in order to monitor the creation of new windows. Once I have this in place, how do I alter it so the creation of the window is canceled??? Thank you very much. Joe

    Original Post:
    I am designing a program that monitors the system using a systemwide windows hook. I am currently using wh_shell and then within the c++ dll callback(shellproc) monitoring with the hshell_windowcreated. I want to be able to terminate the creation of this window from within the dll shellproc callback. How can I do this??? I would really prefer not to have to use sendmessage wm_close because this fix does not always work for what I am doing. I am quite sure I read msdn documentation that stated it was possible to send some parameter back with the next call that terminated the creation. I don't know if this dealt with the wh_shell hook or the wh_cbt(which I would be open to using if there is a comprable method to track window creation with a means of terminating the creation). I can't be sure because msdn changed their documentation. How frustrating. Thank you for any help you can give.
    Joe
    Last edited by Joey_k29; Nov 6th, 2001 at 10:47 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width