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. Managed C++/CLI
  4. api available ?

api available ?

Scheduled Pinned Locked Moved Managed C++/CLI
c++comjsontutorialquestion
4 Posts 3 Posters 2 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.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    i have process id then how to get its main window hwnd is there any api available in vc++. Because i have use Enumewindo.. but that the inderiect way. r00d0034@yahoo.com

    N 1 Reply Last reply
    0
    • I imran_rafique

      i have process id then how to get its main window hwnd is there any api available in vc++. Because i have use Enumewindo.. but that the inderiect way. r00d0034@yahoo.com

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      There is no direct API to do this. Use EnumWindows and call GetWindowThreadProcessId on each HWND Nish


      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

      L 1 Reply Last reply
      0
      • N Nish Nishant

        There is no direct API to do this. Use EnumWindows and call GetWindowThreadProcessId on each HWND Nish


        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

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

        u say that but i think their must be some way. if i have window title then may i get the hwnd of it ?

        N 1 Reply Last reply
        0
        • L Lost User

          u say that but i think their must be some way. if i have window title then may i get the hwnd of it ?

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          r00d0034@yahoo.com wrote: if i have window title then may i get the hwnd of it ? Use FindWindow or FindWindowEx Nish


          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

          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