Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Monitoring Window Creation in another Process

Monitoring Window Creation in another Process

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steve Thresher
    wrote on last edited by
    #1

    Is it possible to write a program that monitors dialog creation in all processes and auto-fills some edit controls when a particular dialog is detected? I have an application that prompts the user to login. I also know where the login details are stored so I'd like to be able to auto-fill the username and password controls whenever the login dialog is created. I'm trying to avoid building a back door into the application that could be exploited by end-users.

    S 1 Reply Last reply
    0
    • S Steve Thresher

      Is it possible to write a program that monitors dialog creation in all processes and auto-fills some edit controls when a particular dialog is detected? I have an application that prompts the user to login. I also know where the login details are stored so I'd like to be able to auto-fill the username and password controls whenever the login dialog is created. I'm trying to avoid building a back door into the application that could be exploited by end-users.

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      Windows CBT Hooks[^]?

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      S L 2 Replies Last reply
      0
      • S Stuart Dootson

        Windows CBT Hooks[^]?

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        S Offline
        S Offline
        Steve Thresher
        wrote on last edited by
        #3

        Looks like a good place to start. Thanks for the info.

        1 Reply Last reply
        0
        • S Stuart Dootson

          Windows CBT Hooks[^]?

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          No, you don't need hooks. Just use W32 System notifications

          S 1 Reply Last reply
          0
          • L Lost User

            No, you don't need hooks. Just use W32 System notifications

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #5

            Tell the OP that, then, rather than me.

            Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups