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. Getting the HWND from Filename

Getting the HWND from Filename

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 3 Posters 1 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.
  • R Offline
    R Offline
    RedDragon2k
    wrote on last edited by
    #1

    Hi Guys I have a problem(why else should i post here?). I only now the executable's name and it is sure that it is running. How can i get the HWND by just knowing the name of the file ? Please Help !!:confused: MFG RedDragon2kx Unix and C are the ultimate computer viruses.

    S T 2 Replies Last reply
    0
    • R RedDragon2k

      Hi Guys I have a problem(why else should i post here?). I only now the executable's name and it is sure that it is running. How can i get the HWND by just knowing the name of the file ? Please Help !!:confused: MFG RedDragon2kx Unix and C are the ultimate computer viruses.

      S Offline
      S Offline
      Sujan Christo
      wrote on last edited by
      #2

      Hi, You can use the SPY++ Utility which comes with Visual Studio Tools Sujan

      1 Reply Last reply
      0
      • R RedDragon2k

        Hi Guys I have a problem(why else should i post here?). I only now the executable's name and it is sure that it is running. How can i get the HWND by just knowing the name of the file ? Please Help !!:confused: MFG RedDragon2kx Unix and C are the ultimate computer viruses.

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        RedDragon2k wrote: have a problem(why else should i post here?). I only now the executable's name and it is sure that it is running. How can i get the HWND by just knowing the name of the file ? Here Are the apis that will help you Out

        ->GetModuleHandle
        ->GetModuleHandleEx

        ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk

        R 1 Reply Last reply
        0
        • T ThatsAlok

          RedDragon2k wrote: have a problem(why else should i post here?). I only now the executable's name and it is sure that it is running. How can i get the HWND by just knowing the name of the file ? Here Are the apis that will help you Out

          ->GetModuleHandle
          ->GetModuleHandleEx

          ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk

          R Offline
          R Offline
          RedDragon2k
          wrote on last edited by
          #4

          Thanks a lot !!!:doh:;) Unix and C are the ultimate computer viruses.
          Visit me: www.programming.info.ms

          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