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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Finding a Window

Finding a Window

Scheduled Pinned Locked Moved C#
csharpquestion
11 Posts 5 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.
  • W Offline
    W Offline
    WizardOfPeyton
    wrote on last edited by
    #1

    Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?

    S D E 3 Replies Last reply
    0
    • W WizardOfPeyton

      Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      If you simply lookup this forum, you'll probably find a dozen answers for this question. Beyond that, why should there be anything like xxxWindow method or function call in the .NET API ? Have you heard or read about the "window" term in the .NET doc ? Answer : windows are hidden behind the FCL. You've got to get used to work without explicit windows.

      N 2 Replies Last reply
      0
      • S Stephane Rodriguez

        If you simply lookup this forum, you'll probably find a dozen answers for this question. Beyond that, why should there be anything like xxxWindow method or function call in the .NET API ? Have you heard or read about the "window" term in the .NET doc ? Answer : windows are hidden behind the FCL. You've got to get used to work without explicit windows.

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        The original question was .Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?: He was not looking for an exact one to one match. Your reply was both rude and unhelpful.:mad: X|

        S 1 Reply Last reply
        0
        • N Not Active

          The original question was .Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?: He was not looking for an exact one to one match. Your reply was both rude and unhelpful.:mad: X|

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          -you don't understand english -you don't know what you are talking about

          W 1 Reply Last reply
          0
          • S Stephane Rodriguez

            -you don't understand english -you don't know what you are talking about

            W Offline
            W Offline
            WizardOfPeyton
            wrote on last edited by
            #5

            Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste. I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework.

            S 1 Reply Last reply
            0
            • W WizardOfPeyton

              Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste. I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework.

              S Offline
              S Offline
              Stephane Rodriguez
              wrote on last edited by
              #6

              WizardOfPeyton wrote: Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste. Wise words from someone whose contribution totals 5 messages. You must be kidding. WizardOfPeyton wrote: I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework. messages, windows,... etc. Definitely not the .NET world. (second attempt).

              D 1 Reply Last reply
              0
              • S Stephane Rodriguez

                WizardOfPeyton wrote: Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste. Wise words from someone whose contribution totals 5 messages. You must be kidding. WizardOfPeyton wrote: I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework. messages, windows,... etc. Definitely not the .NET world. (second attempt).

                D Offline
                D Offline
                David Stone
                wrote on last edited by
                #7

                Stephane, I think you would get along quite well with Mr Maddox at http://maddox.xmission.com[^]:-D Be warned, this will take at least an hour of your life away.


                I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past. -Chris Maunder Microsoft has reinvented the wheel, this time they made it round. -Peterchen on VS.NET

                1 Reply Last reply
                0
                • W WizardOfPeyton

                  Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?

                  D Offline
                  D Offline
                  David Stone
                  wrote on last edited by
                  #8

                  You should look at Eric Gunnerson's Win32Window class on GotDotNet. I think it has what you're looking for. http://www.gotdotnet.com/team/csharp/code/default.aspx[^]


                  I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past. -Chris Maunder Microsoft has reinvented the wheel, this time they made it round. -Peterchen on VS.NET

                  1 Reply Last reply
                  0
                  • S Stephane Rodriguez

                    If you simply lookup this forum, you'll probably find a dozen answers for this question. Beyond that, why should there be anything like xxxWindow method or function call in the .NET API ? Have you heard or read about the "window" term in the .NET doc ? Answer : windows are hidden behind the FCL. You've got to get used to work without explicit windows.

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #9

                    .S.Rod. wrote: Have you heard or read about the "window" term in the .NET doc The Form class represents a window within an application. -- MSDN .NET Framework Class Library potato, patotoe; tomato, tamooto; jerk, S.Rod

                    S 1 Reply Last reply
                    0
                    • N Not Active

                      .S.Rod. wrote: Have you heard or read about the "window" term in the .NET doc The Form class represents a window within an application. -- MSDN .NET Framework Class Library potato, patotoe; tomato, tamooto; jerk, S.Rod

                      S Offline
                      S Offline
                      Stephane Rodriguez
                      wrote on last edited by
                      #10

                      Mark Nischalke wrote: The Form class represents a window within an application So, an editbox is a form. [edit]Both of my posts are about the lack of window concept in the .NET world. Looks like this simple sentence is way too complex to catch for some people (who by the way can't manage to use the Cp search engine either).[/edit]

                      1 Reply Last reply
                      0
                      • W WizardOfPeyton

                        Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?

                        E Offline
                        E Offline
                        Eric Gunnerson msft
                        wrote on last edited by
                        #11

                        There's a class here: http://www.gotdotnet.com/team/csharp/code/default.aspx That probably does what you want.

                        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