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#
  4. about finding forms

about finding forms

Scheduled Pinned Locked Moved C#
tutorialquestion
7 Posts 2 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.
  • P Offline
    P Offline
    papyrus_lei
    wrote on last edited by
    #1

    who can tell me how to active FormB from FormA, A(MainForm) and B(has been minimized) are in one application,but are not parent and child. If FormA and FormB are belong to diffent applicaions what should i do to achieve the same goal? thanks! ^_^

    M 1 Reply Last reply
    0
    • P papyrus_lei

      who can tell me how to active FormB from FormA, A(MainForm) and B(has been minimized) are in one application,but are not parent and child. If FormA and FormB are belong to diffent applicaions what should i do to achieve the same goal? thanks! ^_^

      M Offline
      M Offline
      Mohamad Al Husseiny
      wrote on last edited by
      #2

      First to activate Maximize or Minimize form from another one windows forms has property called WindowState so code somthing like this anotherForm.WindowsState=FormWindowState.Normal MCAD

      P 1 Reply Last reply
      0
      • M Mohamad Al Husseiny

        First to activate Maximize or Minimize form from another one windows forms has property called WindowState so code somthing like this anotherForm.WindowsState=FormWindowState.Normal MCAD

        P Offline
        P Offline
        papyrus_lei
        wrote on last edited by
        #3

        if form B has existed, how could i know, and how to find it. thanks!

        M 2 Replies Last reply
        0
        • P papyrus_lei

          if form B has existed, how could i know, and how to find it. thanks!

          M Offline
          M Offline
          Mohamad Al Husseiny
          wrote on last edited by
          #4

          what do you mean by form is existed? MCAD

          1 Reply Last reply
          0
          • P papyrus_lei

            if form B has existed, how could i know, and how to find it. thanks!

            M Offline
            M Offline
            Mohamad Al Husseiny
            wrote on last edited by
            #5

            as you dont answer my question if you want to search for a window in windows use FindWindow API which will give you the handel of the form MCAD

            P 1 Reply Last reply
            0
            • M Mohamad Al Husseiny

              as you dont answer my question if you want to search for a window in windows use FindWindow API which will give you the handel of the form MCAD

              P Offline
              P Offline
              papyrus_lei
              wrote on last edited by
              #6

              Windows API is what i need . Thank u for your patience. ^_^

              M 1 Reply Last reply
              0
              • P papyrus_lei

                Windows API is what i need . Thank u for your patience. ^_^

                M Offline
                M Offline
                Mohamad Al Husseiny
                wrote on last edited by
                #7

                this will give you only handle to maxmize or minimize you nedd to change windows style set like WS_MAXIMIZE Note: there are another version of FindWindow named FindWindowEx MCAD

                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